GithubHelp home page GithubHelp logo

Comments (4)

midouest avatar midouest commented on June 2, 2024

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.

midouest avatar midouest commented on June 2, 2024

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.

jordanbleu avatar jordanbleu commented on June 2, 2024
  • 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.

midouest avatar midouest commented on June 2, 2024

Closing because I cannot reproduce this issue.

from vscode-playdate-debug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.