Jump to content
IGNORED

How do I set a breakpoint before the first scanline is drawn?


Recommended Posts

I know how to use breakif in Stella to stop the code from running if a certain condition is met, but in my current program, things are going haywire in the very first frame! How can I start up Stella, or restart my .bin, with the first breakpoint set either at the very start of code, or somewhere before the first frame is drawn?

 

Thank you! :)

thisisfine.gif

Link to comment
Share on other sites

From the ROM launcher, right-click on the game, select Power-on Options.  Then for Startup mode, select Debugger.  This will start the debugger before the very first instruction is executed.  There's also a way to do this from the commandline if you prefer.

Link to comment
Share on other sites

Yep, 'reset' from the debugger is another way to do it.  Yet another way is to use the '-debug' commandline argument.  As with a lot of things in Stella, there's usually more than one way of accomplishing something.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...