 |
Discussion Forum |
 |
|
|
PROBLEMS WITH MACROS WHEN DEBUGGING
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
| Details |
Message |
|
Read-Only
Author Carlos Barreiro
Posted 1-Jun-2004 12:54 GMT
Toolset C51
|
 PROBLEMS WITH MACROS WHEN DEBUGGING
Carlos Barreiro
When I am debugging an assembler module in uVison2 v2.40 and I set a breakpoint in a
macro (standard macro), the debugger executes
all instruccions in that macro unless the last instruction.
But if I reach the macro by pressing step-over since a previous instruction, when I reach the macro and press step-over, the debugger start by the first instruction of the macro but I need to press step-over more
than once to get out of the macro. I need to press step-over as many times as instructions are executed inside the macro.
Does any one know how to execute a macro in one step as you can do in dScope?
|
|
|
Read-Only
Author Hans-Bernhard Broeker
Posted 1-Jun-2004 14:16 GMT
Toolset C51
|
 RE: PROBLEMS WITH MACROS WHEN DEBUGGING
Hans-Bernhard Broeker
Step-over differs from step-into only for the case of stepping to a subroutine call, not macro invocations. As far as the debugger is informed about these things, macros don't really exist.
If you want to step over a macro, you'll probably have to move the cursor down one line and "run to cursor".
|
|
Next Thread | Thread List | Previous Thread
Start a Thread | Settings
|
|
|