mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-09 17:56:00 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
29
IDE/Tests/Test1/scripts/Assembly.txt
Normal file
29
IDE/Tests/Test1/scripts/Assembly.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
# We're testing that we can set a breakpoint on a specific assembly instruction
|
||||
# and that when we re-run, we also stop at that instruction
|
||||
|
||||
#Leak()
|
||||
#Sleep(5000)
|
||||
|
||||
ShowFile("src/Assembly.bf")
|
||||
GotoText("//AssemblyTester_Test")
|
||||
ToggleBreakpoint()
|
||||
RunWithCompiling()
|
||||
|
||||
StepInto()
|
||||
ShowDisassemblyAtStack()
|
||||
|
||||
GotoTextSkip("call", 1)
|
||||
AdjustCursor(0, 1)
|
||||
ToggleBreakpoint()
|
||||
CloseCurrentDocument()
|
||||
|
||||
Continue()
|
||||
AssertEvalEquals("a", "2")
|
||||
|
||||
StopRunning()
|
||||
CloseCurrentDocument()
|
||||
|
||||
# Make sure when we re-run that we're still stopping after the second IncVal call
|
||||
RunWithCompiling()
|
||||
Continue()
|
||||
AssertEvalEquals("a", "2")
|
Loading…
Add table
Add a link
Reference in a new issue