Re: [cc65] problem with the debugger

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-12-05 02:04:51


Hi!

Some other late night programmer :-)

On Tue, Dec 04, 2001 at 11:50:55PM +0100, Christian Groessler wrote:
> I point window #5 (the data window) to some address. OK, but if I
> then continue single-stepping, the data window automatically resets to
> address 0.

The problem is that the debugger is left if you do a single step. It's like
setting a temporary breakpoint (two in case of a branch/jump) after the next
instruction and then exiting the debugger. On reentry, windows and window
positions get initialized, which is a good idea for the code and stack
windows, but not for the data window.

> I'd like it to keep its position. How can I accomplish this?

The fix is to remove the call to DumpHome around line 1408 in dbg.c and
recompile the module. I will change that in the head branch, so it's in the
next main release.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:44 CET