mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-06 00:05:59 +02:00
Win32 debugging fixes, more work on custom compile commands
Fixed working dir for 'launch' Fixed attaching to process - stack trace wasn't updating properly Fixed more custom compile stuff, and BeefySysLib bin destination Fixed linking issues related to Bfp* and Bp* exports in both BeefRT and BeefySysLib Fixed a crash with conditional breakpoints Fixed release mode IDE issues (related to hot swap breakpoints) Fixed hotswapping type data with LLVM builds Fixed 'Pause' state processing Running_ToTempBreakpoint for ScriptManager Fixed Win32 step out when there's an ESP adjustment at the return site Made step-out skip over "unimportant" instructions at return site
This commit is contained in:
parent
09016c8dc0
commit
a367b8165f
60 changed files with 1131 additions and 1065 deletions
|
@ -295,6 +295,17 @@ namespace System.IO
|
|||
outDrive.Append(path, 0, 2);
|
||||
}
|
||||
|
||||
/// Tests if the given path contains a root. A path is considered rooted
|
||||
/// if it starts with a backslash ("\") or a drive letter and a colon (":").
|
||||
public static bool IsPathRooted(StringView path)
|
||||
{
|
||||
CheckInvalidPathChars(path);
|
||||
int length = path.Length;
|
||||
if ((length >= 1 && (path[0] == DirectorySeparatorChar || path[0] == AltDirectorySeparatorChar)) || (length >= 2 && path[1] == VolumeSeparatorChar))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void GetRelativePath(StringView fullPath, StringView curDir, String outRelPath)
|
||||
{
|
||||
String curPath1 = scope String(curDir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue