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

WinUae slow startup #255

Open stephbb75 opened 3 months ago

stephbb75 commented 3 months ago

Hi, I have a problem on my Win 10 PC (my PC is a bit slow!), when I press F5 the first time, WinUae works fine. But then it no longer works (well I think it takes too long to start) and I get this error:

Failed to lunch GDB: localhost:2345: (undocumented errno 10060. (from interpreter-exec console "target remote localhost:2345") And WinUae does not run.

Is there a time limit to put somewhere to avoid this problem? (Hi, I have a problem on my Win 10 PC (my PC is a bit slow!), when I press F5 the first time, WinUae works fine. But then it no longer works (well I think it takes too long to start) and I get this error:

Failed to launch GDB: localhost:2345: (undocumented errno 10060. (from interpreter-exec console "target remote localhost:2345") And WinUae does not run.

Is there a time limit to put somewhere to avoid this problem?

For this to work again I need to restart my computer!)

additional info: This happens at this line of the “extension.js” file:

await this.miDebugger.connect(".", this.args.program + ".elf", v).catch((t => {
                            this.sendErrorResponse(e, 103, `Failed to launch GDB: ${t.toString()}`)
                        })),
                    E.off("exit", T)