unregistered[color=#FFBF80], on page 48,[/color] wrote:
...FCEUX's debugger is so great!!
I think I've learned what step-over
- Step-over allows you to run the code that the method jsrs to but skip it entirely; it skips to the next line!
- Step-out let's you step out of a method and it also skips to the same next line that step-over would have skipped to... that's there for people like me who accidentally press step-into too many times.
Now debugging is even faster!
Please correct me on anything I've not described correctly... it's just what I've noticed while debugging.
I just figured out something else about Step-out
... sometimes after pressing Step-out
I get a message "A Step-out is already in progress... cancel it and run a new Step-out?" and I never understood that until today. Here is what my code looks like in the debugger
Code: Select all
...tokumaru gave me the idea of setting a breakpoint for a write to address $ff and so each sta $ff
causes my debugger to take a break.
So, today, I returned to my computer and found it inside draw_RAMbuffers taking a break at its sta $ff
. Then I thought I would like to Step-out
of draw_RAMbuffers and I'd be at the first instruction after draw_RAMbuffers ends... the lda iBeginAtOne
that didn't happen!! It stopped at another sta $ff
and I became mad thinking I had clicked the Step-out
button, but it misunderstood me and had responded to the Run
button being clicked. I had a feeling that this had happened before.
OH GOODNESS GEE! I need to go run before it gets too dark... sorry brb...
edit:back. Ok... I was very mad... for totally the wrong reason. ...I'll explain...
edit2: ...wooooooooooah.... water with ice is excellent!!!
... ... ...my feeling of it happening before was because these exact feelings had happened like at least twice in the past... but this time I handled it well. I clicked Step-out
again and it gave me another message like, "A Step-out is already in progress... cancel it and run a new Step-out?"... and I had noticed that colors
runs at the end of draw_RAMbuffers
...and so I thought well maybe it could be working correctly now...maybe I should click the no
button (that would be the first time clicking the "no" button... all the other times I clicked "yes".)
. I clicked the no
button and after an uncertain pause I then clicked the Run
button AND IT PAUSED AT lda iBeginAtOne!!!
Food is here Amazing Race is starting. Must go eat!
last edit. (frosty the snowman rocks! : ))
edited once more because I needed to add a note above.