Forum Replies Created
We have fixed the VS2012 compatibility issues in VisualGDB 2.7
You can fix this by adding the following line to Android.mk just before the “include $(BUILD_SHARED_LIBRARY)” line:C++1LOCAL_SHORT_COMMANDS := true
Sorry for the late reply.
VisualGDB cannot start debugging because the NDK build system fails to include gdbserver[/b[ into the application package. It might be related to your build problem.
Does the “*** target pattern contains no `%’.” message always appear? Does reinstalling NDK help?
Looks like some old version of make.exe gets invoked. Could you please paste the entire build log here?
We are currently working on resolving VS2012 compatibility issues. Does the debugging work with VS2010?
Do you mean an Android static library or a Linux/embedded static library?
Yes, just remove the #VisualGDBAndroid: AutoUpdateSourcesInNextLine line from Android.mk
Which version of NDK and SDK are you using?
Are you using a custom Android.mk file? Could you please post it here or send to the support email?August 30, 2012 at 20:50 in reply to: VERR_PDM_INVALID_DEVICE_GUEST_BITS Error using Virtual KD #2095
Please try registering the 32-bit version of VBoxKD.DLLAugust 30, 2012 at 20:49 in reply to: No debugging logs from win32 applications in vista or seven #2215
Fixed in 2.8
Could you please post your AndroidManifest.xml file here?
Which version of Android are you using and what exact device? It looks like the output of the ps command looks differently from the usual one.
When you are generating Android projects, the underlying makefile structure is 100% compatible with the classical NDK makefiles and thus adding new preprocessor definitions is done exactly like for the normal NDK projects (see
In your case please add the following text to Android.mk (before the include $(BUILD_SHARED_LIBRARY) line):C++123456ifeq ($(NDK_DEBUG),1)LOCAL_CFLAGS += -DDEBUGelseLOCAL_CFLAGS += -DNDEBUG -DRELEASEendif
No problem. The definitions in the Project Settings indeed apply to IntelliSense only. To change the actual definitions, please edit the flags.mak file in the project directory. The default flags.mak file contains the following definitions:C++1234COMMON_MACROS :=DEBUG_MACROS := DEBUGRELEASE_MACROS := NDEBUG RELEASE
If it does not help, please rebuild the project and post the entire build log here. It will help understanding why the definitions were not applied.