mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-07 19:18:19 +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
36 lines
No EOL
1 KiB
Text
36 lines
No EOL
1 KiB
Text
# 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
|
|
|
|
ShowFile("src/Multithread02.bf")
|
|
GotoText("//Thread1_0")
|
|
ToggleBreakpoint()
|
|
GotoText("//Thread1_1")
|
|
ToggleBreakpoint()
|
|
GotoText("//Test_Start")
|
|
ToggleBreakpoint()
|
|
|
|
RunWithCompiling()
|
|
StepOver()
|
|
AssertEvalEquals("doTest = true", "true")
|
|
Continue()
|
|
AssertEvalEquals("ca.mA", "100")
|
|
AssertEvalEquals("sVal0", "1")
|
|
AssertEvalEquals("ca.GetValWithWait()", "100")
|
|
AssertEvalEquals("sVal0", "2")
|
|
SelectThread("")
|
|
SelectCallStackWithStr(".DoTest()")
|
|
AssertEvalEquals("ca.mA", "9")
|
|
AssertEvalEquals("sVal1", "0")
|
|
|
|
AssertEvalEquals("ca.GetValWithWait()", "9")
|
|
AssertEvalEquals("sVal1", "1")
|
|
Continue()
|
|
|
|
SelectThread("")
|
|
SelectCallStackWithStr(".DoTest()")
|
|
AssertEvalEquals("sVal1", "1")
|
|
AssertEvalEquals("ca.GetValWithWait()", "9")
|
|
AssertEvalEquals("sVal1", "2") |