Re: [cc65] New version of debug info available

From: thefox xofeht <thefox1aspekt.fi>
Date: 2011-08-21 15:46:02
On Sun, Aug 21, 2011 at 3:03 PM, Ullrich von Bassewitz <uz@musoftware.de> wrote:
> This is nice for a debugger, because you can tell from the count how the
> macros were actually nested. A user may up and down like in a call stack (if
> implemented).

Let's say I trace to address 2. I retrieve spans for that address and
it returns spans 0, 2, 3 and 4. Only spans 0, 2 and 3 have lines
associated with them. If I retrieve the corresponding lines I would
get these (line info) id's: 0, 2, 3.

id 0: line = 3 ("nop"), count = 2
id 2: line = 7 ("foo"), count = 2
id 3: line = 9 ("bar"), no count since it's not in a macro

So my original question was, how am I supposed to distinguish between
line 3 and 7 (i.e. to know which one expanded to which) when they have
the same count?

-thefox
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 21 15:46:14 2011

This archive was generated by hypermail 2.1.8 : 2011-08-21 15:46:16 CEST