Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Just run part of macro
#1
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!
#2
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
Code:
Copy      Help
;out 1
;out 2
out 3
out 4
;out 5
;out 6
#3
Ah o.k. one can not do this. To "out-comment" code is actually what i already do...

greetings!
#4
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
Code:
Copy      Help
goto mygoto
out 1
out 2

;mygoto
out 3
out 4
goto mygoto1
out 5
out 6


;mygoto1
ret 0


Forum Jump:


Users browsing this thread: 1 Guest(s)