mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00

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
40 lines
No EOL
792 B
Text
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") |