Comments (4)
Thanks for reporting this! I'm not sure what's happening based on your description, and unfortunately I have not been able to reproduce this (VSCode 1.75.1, macOS Ventura 13.2.1, Playdate SDK 1.13.1).
I have a few more questions:
- What Playdate SDK version are you using?
- If you quit the simulator when this happens, does it work the next time you hit "Debug file in Playdate Simulator"?
- Does it happen if you use "Run file in Playdate Simulator" instead of "Debug"?
- Are you stopping the previously running debugger before you click "Debug file in Playdate Simulator" again?
You could trying using the tasks.json
and launch.json
from the basic configuration example instead of using the "Debug file in Playdate Simulator" button. That button is intended to help you get up and running quickly, but I would expect the dedicated task/launch configuration to be a bit more stable.
from vscode-playdate-debug.
Also, is there any logging information in the VSCode task console? You should see something like this:
* Executing task: Playdate: Build
Compiling...
> "/Users/me/Developer/PlaydateSDK/bin/pdc" --main -sdkpath "/Users/me/Developer/PlaydateSDK" "/Users/me/Developer/MyGame/source/main.lua" "/Users/me/Developer/MyGame/main.pdx"
* Terminal will be reused by tasks, press any key to close it.
* Executing task: Playdate: Run
Starting Playdate Simulator...
> /usr/bin/open -a "/Users/me/Developer/PlaydateSDK/bin/Playdate Simulator.app"
* Terminal will be reused by tasks, press any key to close it.
from vscode-playdate-debug.
- I'm on the latest Playdate SDK, 1.13.1
- I have been quitting the simulator, unfortunately still doesn't work
- Run does not work either
- I am stopping the debugger
I think i may have found a reliable fix though, it seems that if I attach my debugger to some other process it fixes the issue for some reason.
from vscode-playdate-debug.
Closing because I cannot reproduce this issue.
from vscode-playdate-debug.
Related Issues (20)
- set the entry point manually instead of using currently opened file for run/debug HOT 2
- subsequent run command does not upload new code to simulator HOT 5
- IncrementBuildNumber can write undefined keys to PDXInfo file HOT 1
- SDK versioning or other solutions? HOT 1
- gnome-terminal only HOT 4
- Cannot Attach to Simulator HOT 2
- Windows CI tests failing HOT 1
- Extension should launch simulator from integrated terminal on Linux
- Run CI tests on latest SDK version in addition to 1.12.x
- Incorrect .pdx name used & can't deal with spaces
- Building with make HOT 2
- Getting error main.lua or pdex.bin required after update to playdateSDK 1.13.5 HOT 7
- Version 1.14.8 is very large HOT 1
- Debugging C projects HOT 5
- Debug stops attaching, only fixed with a system restart
- main.pdx/main.pdx/main.pdx/main.pdx/main.pdx/main.pdx HOT 2
- Build error with relative paths HOT 3
- Extension is unavailable in VSCodium HOT 1
- PLAYDATE_SDK_PATH environment variable is not picked up on Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-playdate-debug.