Posts: 14
Threads: 7
Joined: Mar 2015
Hi,
how can i run a macro line by line or define a startingpoint from where to run till an defined point, where execution comes to an halt. I want to do this to test code.
Greetings!
Posts: 12,073
Threads: 140
Joined: Dec 2002
Cannot run part of code without modifying the code.
I usually disable parts of code to be excluded when testing.
It's easy to disable/enable parts of code: select the lines and right-click the selection bar.
In this macro, out 1, 2, 5, 6 are disabled.
Macro
Macro2760
;out 1
;out 2
out 3
out 4
;out 5
;out 6
Posts: 14
Threads: 7
Joined: Mar 2015
Ah o.k. one can not do this. To "out-comment" code is actually what i already do...
greetings!
Posts: 795
Threads: 136
Joined: Feb 2009
maybe insert a goto instruction where you want the code to end execution.
Then you move it lines forward when needed.
The goto section is either a stop instruction (say use ret 0) or some other code to process...
Just my 2 cents, hope it can help.
something like this mayben untested though
Macro
Macro11
goto mygoto
out 1
out 2
;mygoto
out 3
out 4
goto mygoto1
out 5
out 6
;mygoto1
ret 0