1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00
Beef/IDE/Tests/Test1/scripts/HotSwap_TLS.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

40 lines
No EOL
792 B
Text

# This test fails on Win32 currently
if (platform != "Win64") Stop()
ShowFile("src/HotSwap_TLS.bf")
GotoText("//Test_Start")
ToggleBreakpoint()
RunWithCompiling()
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
AssertEvalEquals("val", "3")
AssertEvalEquals("ClassA.sTLS0", "3")
AssertEvalEquals("sThreadResult", "1")
StepOver()
StepOver()
StepOver()
AssertEvalEquals("sThreadResult", "2")
ToggleCommentAt("ClassA_TLS1")
ToggleCommentAt("Inc1_TLS1")
Compile()
AssertEvalEquals("ClassA.sTLS1", "0")
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
StepOver()
AssertEvalEquals("val", "3")
AssertEvalEquals("ClassA.sTLS1", "3")
AssertEvalEquals("sThreadResult", "1")
StepOver()
StepOver()
StepOver()
AssertEvalEquals("sThreadResult", "2")