christopherpow / nesicide

Integrated Development Environment for the 8-bit Nintendo Entertainment System
316 stars 38 forks source link

Debugging macro from another unit #55

Closed aa-dav closed 4 years ago

aa-dav commented 4 years ago

(Windows 10, latest build) If I enter in the debug mode and step through code (by F8 key) and reach macro which resides in another file (let's suppose, "utils.inc") IDE opens up 3 tabs with this file (utils.inc) and can't show current instruction pointer at all. Every step through macro instructions will open new 3 tabs of the same code and does nothing more. Issue doesn't exist if macro resides in current file or we don't go step-by-step through macro (plain code works well). Another symptom: tabs opened in this way looks like all new lines are doubled - new empty lines after each original line. Maybe it's relevant: all files reside in the subfolder "src" of project like in template.

christopherpow commented 4 years ago

Can you provide a minimal project that shows this issue? Thanks.

aa-dav commented 4 years ago

Here it is: Test02.zip Note that it's location on my hard drive is c:\devel\nes\Test02 (root folder of project) main.s contains entry point and macro some1 utils.inc contains macro some2 entry point in main.s uses macros at start and then some2 is reached mess with tabs appears. Hope it helps. Thanks.

christopherpow commented 4 years ago

I'm finally getting back to this.

christopherpow commented 4 years ago

Fix for this will be in build today.