1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +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:
Brian Fiete 2019-08-29 14:19:07 -07:00
parent 09016c8dc0
commit a367b8165f
60 changed files with 1131 additions and 1065 deletions

View file

@ -351,13 +351,21 @@ namespace IDE.ui
IDEUtils.FixFilePath(targetPath);
String workingDir = scope String();
//
workingDir.Append(mWorkingDirCombo.Label);
if (Path.IsPathRooted(workingDir))
{
String relWorkingDir = scope String();
relWorkingDir.Append(mWorkingDirCombo.Label);
if (!workingDir.IsWhiteSpace)
defer targetPath.Remove(0, targetPath.Length);
Path.GetAbsolutePath(targetPath, workingDir, targetPath);
}
else
{
String targetDir = scope .();
Path.GetDirectoryPath(targetPath, targetDir);
if (!targetDir.IsWhiteSpace)
{
Path.GetAbsolutePath(targetPath, relWorkingDir, workingDir);
defer workingDir.Remove(0, workingDir.Length);
Path.GetAbsolutePath(workingDir, targetDir, workingDir);
}
}

View file

@ -2324,8 +2324,12 @@ namespace IDE.ui
}
public void FocusEdit()
{
GetActivePanel().mEditWidget.SetFocus();
{
let activePanel = GetActivePanel();
activePanel.mEditWidget.SetFocus();
if (!mWidgetWindow.mHasFocus)
EditGotFocus();
}
public override void SetFocus()