Android Studio does not steps into virtual functions during debug

  android-ndk, android-studio, c++, debugging

I am debugging an Android application with lots of C++ code (built with gradle, using NDK). However i ahve run into a nearly-fatal issue.

When there is a pointer (or smart pointer) to some some object of base, possibly pure virtual class, debugger does not show me what the real class is. Likewise, when i try to "Step into" the virtual function being called, debugger steps over instead. If there is a breakpoint inside, it will stop there, though.

How can i retrieve that information in runtime when debugging? I can somewhat change the build if needed.

Source: Windows Questions C++

LEAVE A COMMENT