简体   繁体   English

如何在Android Studio中调试c ++代码?

[英]How to debug c++ code in Android Studio?

I use Android Studio 1.5.1 and Windows 7. I installed LLDB, but when I put a breakpoint in my native code, nothing happens. 我使用Android Studio 1.5.1和Windows 7.我安装了LLDB,但是当我在我的本机代码中放置一个断点时,没有任何反应。 It may be necessary to set some settings in native debugger to make it work? 可能需要在本机调试器中设置一些设置才能使其工作?

在此输入图像描述

I can't believe I can't don't allow to debug my native code in such a powerful tool like Android Studio. 我不敢相信我不能不允许在像Android Studio这样强大的工具中调试我的本机代码。

About same question has been asked at the end of the link, you can check the answer. 关于在链接结束时询问了同样的问题,你可以查看答案。 How to get NDK debugging to work in Android Studio? 如何让NDK调试在Android Studio中运行?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Android中调试Visual Studio 2017生成的C ++代码.SO文件和其他第三方库? - How to debug visual studio 2017 generated C++ code .SO file and others third party libraries in android? 是否可以在Android Studio中调试C / C ++? - Is it possible to debug C/C++ in Android Studio? 如何在Android Studio中启用Neon来构建和调试本机代码(c)? - How to build and debug native code (c) with neon enabled in android studio? 如何使用Eclipse在Android上调试C ++代码? - How to debug C++ code on Android by using Eclipse? 无法正常运作-使用平板电脑HUAWEI MediaPad M5的Android Studio上的调试模式本机代码(c / c ++) - Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5 Android:在 android 工作室中进行 NDK-Build C/C++ 调试 - Android: NDK-Build C/C++ debug in android studio 更新至3.1.2后无法在android studio中调试C ++代码 - Can't debug c++ code in android studio after updating to 3.1.2 如何在 Android Studio 4 中编译 C/C++ 本机代码 - How to compile C/C++ native code in Android Studio 4 如何在Android Studio中调试NativeScript Java代码? - How to debug NativeScript java code in Android Studio? c++中的jni代码将在android studio中调用 - jni code in c++ is to be called in android studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM