Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to debug a macro?
#1
How the macros are supposed to be debugged?

If I use -r -g to have asm files with source lines listed, I get the source lines BEFORE macro substitution.

Could -g option write to the .asm listing the source lines AFTER macro substitution?
Antoni
Reply
#2
That's the bad side of macros.. no way to debug. That's the main reason i gave up adding multi-line macros, inline procs when added won't inlined when in debug mode, while macros will simply disappear on a debugger.

FB is single pass, i will see if that can be added (expansion shown in the asm comments).
Reply
#3
Well seeing from outside, it seems that macro substitutions should be done BEFORE being able of emitting assembler... Smile Or my guess is totally wrong?
Antoni
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)