Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug stops attaching, only fixed with a system restart #33

Open
rubybrowncoat opened this issue Aug 12, 2023 · 0 comments
Open

Debug stops attaching, only fixed with a system restart #33

rubybrowncoat opened this issue Aug 12, 2023 · 0 comments
Assignees

Comments

@rubybrowncoat
Copy link

I'm on Windows.
The debug works fine for a while but at some point it stops attaching. (Pretty randomly thus far, once it was after I put the system to sleep and woke it back up a few hours later)

The tasks are executed correctly and the simulator is launched but the debugger can't attach to it and fails.

 *  Executing task: Playdate: Build 

Compiling...
> "~\PlaydateSDK\bin\pdc" -sdkpath "~\PlaydateSDK" "~\project\source" "~\project\Project.pdx"
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: Playdate: Run 

Checking for running Playdate Simulator...
> tasklist
Starting Playdate Simulator...
> "~\PlaydateSDK\bin\PlaydateSimulator.exe" "~\project\Project.pdx"
 *  Terminal will be reused by tasks, press any key to close it. 

One difference I found is that when the debugger works you can keep the simulator open and it replaces the build on the fly before attaching to the process, but once it stops attaching it also stops replacing it, so the first time it runs the simulator and starts the project (but doesn't attach) and subsequent launches (task Playdate: Run) don't do anything at all unless you close the simulator.

There error I get doesn't say much.
image

@rubybrowncoat rubybrowncoat changed the title Debug stops attaching, only fixed with a restart Debug stops attaching, only fixed with a system restart Aug 12, 2023
@midouest midouest self-assigned this Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants