1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00
Beef/IDE/Tests/Test1/scripts/HotSwap_Breakpoints.txt
2019-08-23 11:56:54 -07:00

20 lines
No EOL
426 B
Text

ShowFile("src/HotSwap.bf")
GotoText("//Test_Start")
ToggleBreakpoint()
RunWithCompiling()
GotoText("//*HotTester_Test1")
AdjustCursor(0, 1)
InsertText("int a0 = 1;\n\t\t\tint b0 = 2;\n\t\t\tint c0 = 3;\n")
AdjustCursor(0, -2)
ToggleBreakpoint()
# We want to ensure that breakpoint didn't bind yet
StepOver()
StepOver()
AssertLineContains("ht.Test1()")
# ... but now it does
Compile()
Continue()
AssertLineContains("b0 = 2")