Jump to content



0

idea for stella's debugger mode


1 reply to this topic

#1 Syntaxerror999 ONLINE  

Syntaxerror999

    Moonsweeper

  • 402 posts

Posted Wed Nov 30, 2011 12:07 AM

I like how you can advance the program one frame at a time and see what is happening... but I would like to see a mode that allows you to advance the program one scan line at a time... or even one clock cycle at a time. I think this would be bennificial to many programers trying to cycle count and can't figure out were they are going wrong. Oppinions?

PS disreguard if this is already part of Stella and I just dont know about it.

#2 stephena OFFLINE  

stephena

    Stargunner

  • 1,968 posts
  • Stella maintainer
  • Location:Newfoundland, Canada

Posted Wed Nov 30, 2011 4:58 AM

View PostSyntaxerror999, on Wed Nov 30, 2011 12:07 AM, said:

I like how you can advance the program one frame at a time and see what is happening... but I would like to see a mode that allows you to advance the program one scan line at a time... or even one clock cycle at a time. I think this would be bennificial to many programers trying to cycle count and can't figure out were they are going wrong. Oppinions?

PS disreguard if this is already part of Stella and I just dont know about it.

In the upper-right corner there are buttons named 'Step', 'Trace', 'Scan +1', 'Frame +1. There are also keyboard shortcuts for each of these: Alt-s, t, l, f, respectively (Use the Cmd key for Mac). Scan and Frame +1 are self-explanatory; Step and Trace are explained in more detail in the manual.

EDIT: I forgot to mention there's even a Rewind button (or Alt-r/Cmd-r), that rewinds the last operation you did. So not only can you step instruction by instruction (or scanline by scanline), you can rewind and do it again :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users