GithubHelp home page GithubHelp logo

Comments (7)

hoangbv15 avatar hoangbv15 commented on August 16, 2024 1

I managed to resolve my issue. The problem was that devkitPro installation did not add "%DEVKITPRO%\tools\bin" to my path (DEVKITPRO is the path to your devkitPro folder).

Trying to run arm-none-eabi-gdb.exe directly revealed the problem to me, it was complaining that it couldn't find the mingw dlls that was supposed to come with devkitPro.

from gba_vscode_basic.

hoangbv15 avatar hoangbv15 commented on August 16, 2024

I have the same error, but mGBA doesn't even boot up the rom for me. The strange thing is, if I don't close the mGBA window and just run the build again, another window of mGBA opens and loads the rom correctly, but I would still get the "Unable to start debugging. Unable to establish a connection to GDB. Debug output may contain more information" prompt.
The debug console output will say

Starting: "F:/devkitPro/devkitARM/bin/arm-none-eabi-gdb.exe" --interpreter=mi
"F:/devkitPro/devkitARM/bin/arm-none-eabi-gdb.exe" exited with code -1073741515 (0xC0000135).

This happens for mGBA 0.8.3 and mGBA 0.6.2, both 32bit and 64bit.

from gba_vscode_basic.

Aljenci avatar Aljenci commented on August 16, 2024

Hello hoangbv15!

Today I have some time to continue testing and definitely is the same. Adding the "%DEVKITPRO%\tools\bin" to the Path solve the problem.

Thank you very much! 👍

from gba_vscode_basic.

Aljenci avatar Aljenci commented on August 16, 2024

If it is fine I will make a pull request with this added in the readme.

from gba_vscode_basic.

nightblade9 avatar nightblade9 commented on August 16, 2024

Adding the path to devkitpro\tools\bin also solved it for me, a README update PR would be 👌

from gba_vscode_basic.

Cryosignal avatar Cryosignal commented on August 16, 2024

I don't mean to be hijacking this post but I have the same issue. Adding the path did not fix my issue. Same issue as above, but my debugger windows says "Starting: "C:/devkitPro/devkitARM/bin/arm-none-eabi-gdb.exe" --interpreter=mi
"C:/devkitPro/devkitARM/bin/arm-none-eabi-gdb.exe" exited with code -1073741515 (0xC0000135)."

from gba_vscode_basic.

JamieDStewart avatar JamieDStewart commented on August 16, 2024

Hi I'll update the project to reflect that the environment variables may need to be set for DEVKITPRO, and Cryosignal I think I have sussed your issue on a separate thread.

from gba_vscode_basic.

Related Issues (9)

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.