Giter VIP home page Giter VIP logo

nds_vscode_template's People

nds_vscode_template's Issues

Rewrite the project's launch configurations (launch.json)

VSCode supports "launch" and "attach" configurations. At this time, the only configuration is (gdb) Launch which - in my eyes - is really just supposed to be an attach configuration.

I'm new to this, but feel it'd make more sense to have two launch configs (one for desmume stable release, one for dev+ with a gdb interface) and one attach config. And remove the gdb-debug helper task, if possible.

DeSmuME 0.9.11 recognizes option --cpu-mode=0, however, 0.9.13 does not and will exit

Currently, when debugging, we use a dev+ build of DeSmuME 0.9.11 (an older release) to attach gdb to, which offers a --cpu-mode=(0|1) option letting us choose between the CPU interpreter and the JIT. We need the interpreter, as most of the gdb stuff doesn't work with the JIT.

After commit TASEmulators/desmume@3785435, --cpu-mode=(0|1) was later replaced with --jit-enable which doesn't accept an option argument, leaving us without a stable-0.9.13-viable alternative to --cpu-mode=0.

This may be an issue in the event that an user starts editing tasks.json to change the README-suggested desmume path from DeSmuME_0.9.11_x86_dev+ to that of a newer dev+ executable. For instance, running any of the following:

DeSmuME_0.9.13_x64.exe --cpu-mode=0 <path to NDS executable>
DeSmuME_0.9.13_x64.exe --jit-enable=0 <path to NDS executable>

will exit on startup because the first command argument is not recognized as an option; meanwhile --jit-enable is recognized as such.

Possible workarounds

  • launch desmume, untick the Emulation Settings -> Use dynamic recompiler option in the GUI, then close desmume;
  • or, edit desmume.ini on windows, which could be done programmatically via tasks.json and using sed/awk tools;
  • or, launch desmume with the cwd (working directory) set to a directory located in the NDS project and place our own, read-only desmume.ini file there

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.