How to debug native applications? #108

Closed
opened 2025-08-09 17:13:26 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @fabiopolimeni on 2/25/2019

Hi guys,

I was wondering whether this plugin is capable of debugging native applications through VS.

I have an app and I generate the manifest and the whole directory tree through a python script (no gradle, purely javac). This means that my source files, the *.c files, are kept separated from this tree. Now, when I hit the debug button, the application correctly boots up on my device, but I don't seem to be able to hit the breakpoints in the native code, in fact, they grey out as soon as the debugger starts. Moreover, and I don't know whether this is relevant or not, on the screen of my mobile phone a popup shows up saying the application is waiting for the debugger to be attached. After a few moments it goes away, so I guess, the debugger is properly attached.

Any suggestion?

*Originally created by @fabiopolimeni on 2/25/2019* Hi guys, I was wondering whether this plugin is capable of debugging native applications through VS. I have an app and I generate the manifest and the whole directory tree through a python script (no gradle, purely javac). This means that my source files, the *.c files, are kept separated from this tree. Now, when I hit the debug button, the application correctly boots up on my device, but I don't seem to be able to hit the breakpoints in the native code, in fact, they grey out as soon as the debugger starts. Moreover, and I don't know whether this is relevant or not, on the screen of my mobile phone a popup shows up saying the application is waiting for the debugger to be attached. After a few moments it goes away, so I guess, the debugger is properly attached. Any suggestion?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/android-dev-ext#108
No description provided.