Comments (7)
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.
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.
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.
If it is fine I will make a pull request with this added in the readme.
from gba_vscode_basic.
Adding the path to devkitpro\tools\bin also solved it for me, a README update PR would be 👌
from gba_vscode_basic.
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.
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)
- Mac: GDB Timed Out!
- Doesn't work HOT 2
- White screen HOT 4
- mGBA 6.2 not working in macOS Mojave (10.14.6) HOT 1
- Debug woes on macOS, can't start a debugger HOT 5
- Couldn't find a debug adapter descriptor for debug type 'cppdbg' (extension might have failed to activate) HOT 1
- Unable to establish a connection to GDB! HOT 10
- Linux setup? HOT 7
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 gba_vscode_basic.