I'm working on an Android
project which uses a Java
class that is a wrapper on a C++
library. The C++ library is a company internal library and we have access to its source code, but in the Android project it is only dynamically linked, so it is used only in the form of headers(.h) and shared objects (.so). Having access to the library source code, is it possible to specify to Android Studio the path to the source code so I can step inside the library using the debugger?
The debugger works, I can step inside the Java_clory_engine_sdk_CloryNative_nativeInit
function, but I would also like to further debug the library corresponding to the Clory::Engine
class which, as I mentioned, is an internal library we have source code access to.
For example, Clory::Engine::instance
is part of the library and I would like to specify to Android Studio the location of the CloryEngine.cpp
file so I can step inside Clory::Engine::instance
with the debugger, thus debugging this static member function.
I am using Android Studio 3.1.4.
Is this possible?
from Debugging C++ library with Android Studio
No comments:
Post a Comment