NDK在增加断点时跳不进去,不管用的解决办法

先看下面的错,如果报的不是这个那就不是我这个问题,那就不用再看了

我机子在调试的时候怎么也跳不到断点的地方,从网上查了很多的解决办法都不管用,后一看到有人说要等会,完了sleep了几秒之后还真跳过去了

当报下面的错,然后又没有进入debug模式的话,或者断点不起作用,请尝试在启动时sleep几秒,这是由于gdb debug初始化慢于你的程序造成的

warning: Could not load shared library symbols for 96 libraries, e.g. /system/bin/linker.

Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find dynamic linker breakpoint function.
GDB will retry eventurally. Meanwhile, it is likely
that GDB is unable to debug shared library initializers
or resolve pending breakpoints after dlopen().


猜你喜欢

转载自iaiai.iteye.com/blog/2251890