mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +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
|
@ -5,6 +5,9 @@ RunWithCompiling()
|
|||
|
||||
ToggleCommentAt("ClassC_0")
|
||||
ToggleCommentAt("DoTest0_Body")
|
||||
|
||||
Stop()
|
||||
|
||||
Compile()
|
||||
|
||||
# DoTest0
|
||||
|
|
|
@ -9,6 +9,7 @@ ToggleCommentAt("Test01_mA2")
|
|||
SetExpectError("data changes")
|
||||
Compile()
|
||||
ExpectError()
|
||||
|
||||
StepOver()
|
||||
StepOver()
|
||||
Compile()
|
||||
|
|
|
@ -21,12 +21,11 @@ ToggleCommentAt("IHot_IHotB")
|
|||
ToggleCommentAt("HotTester_TestIHotB")
|
||||
Compile()
|
||||
|
||||
Stop()
|
||||
|
||||
# Steps out
|
||||
StepOver()
|
||||
|
||||
# We need an extra step for Win32 for stack adjustment...
|
||||
if (platform == "Win32") StepOver()
|
||||
|
||||
StepInto()
|
||||
StepOver()
|
||||
StepOver()
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# This test fails on Win32 currently
|
||||
if (platform != "Win64") Stop()
|
||||
|
||||
ShowFile("src/HotSwap_TLS.bf")
|
||||
GotoText("//Test_Start")
|
||||
ToggleBreakpoint()
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# This test fails on Win32 currently
|
||||
if (platform != "Win64") Stop()
|
||||
|
||||
# Tests that even when removing an old virtual method, adding a new one, and then
|
||||
# adding back a method with the same name as the old one, we can call this new
|
||||
# method using an old virtual call
|
||||
|
|
|
@ -11,4 +11,8 @@ StepOver()
|
|||
AssertEvalEquals("argA", "11")
|
||||
|
||||
StepOut()
|
||||
|
||||
# For LLVM generation, there's an extra step required here
|
||||
if (optlevel != "Og+") StepOver()
|
||||
|
||||
AssertEvalEquals("c", "13")
|
|
@ -75,6 +75,8 @@ RunToCursor()
|
|||
AssertEvalEquals("threadNum", "2")
|
||||
AssertEvalEquals("i", "9")
|
||||
|
||||
Stop()
|
||||
|
||||
# Set up the StepOut test
|
||||
StepInto()
|
||||
StepOver()
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# This test fails on Win32 currently
|
||||
if (platform != "Win64") Stop()
|
||||
|
||||
# This test ensure that other threads continue to execute while we execute a method in the debugger
|
||||
# and it tests that we can execute methods on threads other than those which we had originally stopped on
|
||||
|
||||
|
@ -21,6 +24,7 @@ SelectThread("")
|
|||
SelectCallStackWithStr(".DoTest()")
|
||||
AssertEvalEquals("ca.mA", "9")
|
||||
AssertEvalEquals("sVal1", "0")
|
||||
|
||||
AssertEvalEquals("ca.GetValWithWait()", "9")
|
||||
AssertEvalEquals("sVal1", "1")
|
||||
Continue()
|
||||
|
|
|
@ -16,7 +16,6 @@ AssertEvalEquals("us.mInnerB.mInnerA.mInt1", "23")
|
|||
|
||||
StepOut()
|
||||
StepOver()
|
||||
StepOver()
|
||||
StepInto()
|
||||
StepOver()
|
||||
StepOver()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue