BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
303 stars 38 forks source link

V1.7.0 does not fire up WinUAE/infinite loop #211

Closed ReneKriest closed 1 year ago

ReneKriest commented 1 year ago

V1.7.0 starts debugging after I hit F5 but is kept busy in an infinite loop without firing up WinUAE.

I reverted to 1.6.9, which works just fine.

No error message in the terminal from V1.7.0, so there is no real hint. (Sorry)

BartmanAbyss commented 1 year ago

Hi, any more clues? I did test with the template project and everything worked as it always did. Do you see winuae-gdb.exe in your Windows task manager?

ghost commented 1 year ago

Can confirm the same issue here. On pressing F5 winuae-gdb.exe does not appear in the task manager, but vscode appears to be waiting for it, with the debug tab open but nothing shown. Ctrl+F5 gives similar results minus the empty debugger.

I can start winuae with the generated config file from the command line, but vscode doesn't connect to it, so that's my workaround for the moment, just building and running with no debugger.

BartmanAbyss commented 1 year ago

Can reproduce on a different PC. Will investigate. Sorry for the inconvenience.

BartmanAbyss commented 1 year ago

tracked down to https://github.com/BartmanAbyss/vscode-amiga-debug/pull/209#discussion_r1102934010_

ghost commented 1 year ago

tracked down to #209 (comment)_

Which means that adding "emuargs": [] to each configuration in launch.json gives an easy work around. Nice.

BartmanAbyss commented 1 year ago

fixed in 1.7.1