1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-07 19:18:19 +02:00
Beef/IDE/Tests/Test1/scripts/HotSwap_BaseChange.txt
Brian Fiete a367b8165f 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
2019-08-29 14:19:07 -07:00

56 lines
No EOL
1 KiB
Text

ShowFile("src/HotSwap_BaseChange.bf")
GotoText("//Test_Start")
ToggleBreakpoint()
RunWithCompiling()
ToggleCommentAt("ClassC_0")
ToggleCommentAt("DoTest0_Body")
Stop()
Compile()
# DoTest0
StepInto()
StepOver()
StepOver()
StepOver()
StepOver()
AssertEvalEquals("a0", "100")
AssertEvalEquals("a1", "101")
AssertEvalEquals("c0", "300")
StepOut()
# DoTest1
ToggleCommentAt("ClassC_0")
ToggleCommentAt("ClassC_1")
ToggleCommentAt("DoTest0_Body")
ToggleCommentAt("DoTest1_Body")
ToggleCommentAt("DoTest2_Decl")
Compile()
StepInto()
StepOver()
StepOver()
StepOver()
AssertEvalEquals("b0", "200")
AssertEvalEquals("c0", "300")
# DoTest1
ToggleCommentAt("ClassB_MethodB1")
ToggleCommentAt("ClassC_1")
ToggleCommentAt("ClassC_2")
ToggleCommentAt("DoTest2_Body")
Compile()
StepOver()
StepOver()
AssertEvalEquals("b0", "200")
AssertEvalEquals("c0", "1300")
StepInto()
StepOver()
StepOver()
StepOver()
StepOver()
AssertEvalEquals("b0", "200")
AssertEvalEquals("b1", "201")
AssertEvalEquals("c0", "1300")
AssertEvalEquals("c1", "1301")