Searching \ for '[PIC:] Source tracking in MPLAB (was: "Re: [PIC:]' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'Source tracking in MPLAB (was: "Re: [PIC:]'.

Exact match. Not showing close matches.
PICList Thread
'[PIC:] Source tracking in MPLAB (was: "Re: [PIC:] '
2004\02\19@135930 by Andrew Warren

flavicon
face
Ben Hencke <spam_OUTPICLISTTakeThisOuTspammitvma.mit.edu> wrote:

> I want the debugger to keep the code and really
> execute it, but to cursor over it as if it was either
> a function or a single instruction. The way it behaves
> now is that the run cursor doesnt get to the if, it
> goes straight into the macro code, so you cant even
> tell what you are 'if'ing.

Ben:

It's been a long time since I've used MPLAB, but I remember being
annoyed by that, and I have a vague recollection that there was a way
to keep it from happening.  Maybe if you assemble with macro
expansion turned on (or off)?  Try the "EXPAND" and "NOEXPAND"
directives and see if that makes a difference.

You might also try using "Step Over" instead of "Step"; perhaps it
works with macros the way it works with subroutines.

I know there's also a "track source code" checkbox in one of MPLAB's
Options dialogs, but I think it affects ALL source-code tracking, not
just tracking of macros.

-Andy

=== Andrew Warren -- .....aiwKILLspamspam@spam@cypress.com
=== Principal Design Engineer
=== Cypress Semiconductor Corporation
===
=== Opinions expressed above do not
=== necessarily represent those of
=== Cypress Semiconductor Corporation

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspamKILLspammitvma.mit.edu with SET PICList DIGEST in the body

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...