1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00

Fixed ARM linking issue and 'step into' for BeefProgramStart

This commit is contained in:
Brian Fiete 2019-10-23 11:30:59 -07:00
parent 2693dbfaca
commit 2196c8c669
3 changed files with 12 additions and 3 deletions

View file

@ -9734,7 +9734,7 @@ namespace IDE
//mMainBreakpoint = mDebugger.CreateSymbolBreakpoint("_ZN3Hey4Dude3Bro9TestClass4MainEv");
if ((project.mGeneralOptions.mTargetType == Project.TargetType.BeefConsoleApplication) ||
(project.mGeneralOptions.mTargetType == Project.TargetType.BeefWindowsApplication))
mMainBreakpoint = mDebugger.CreateSymbolBreakpoint("-BeefMain");
mMainBreakpoint = mDebugger.CreateSymbolBreakpoint("-BeefStartProgram");
else
{
mMainBreakpoint = mDebugger.CreateSymbolBreakpoint("-main");
@ -11229,7 +11229,7 @@ namespace IDE
mDebugger.UpdateCallStack();
var stackInfo = scope String();
mDebugger.GetStackFrameInfo(0, out addr, fileName, stackInfo);
if (stackInfo.Contains("Main"))
if (stackInfo.Contains("BeefStartProgram"))
{
// Okay, NOW we can do a "step into"
if (!IsInDisassemblyMode())