yin guangyong Problem with NDK-GDB !!
Posts 2
Added by yin guangyong almost 2 years ago

When I try to debug my cocos2dx program with ndk-gdb tool ,every time i set a breakpoint ,the program crash out when tigger the breakpoint, every time!!Why?

Zhe Wang RE: Problem with NDK-GDB !!
Posts 1642
Location Amoy, China
Added by Zhe Wang almost 2 years ago

I hate ndk-gdb too!
Try to debug the c++ logic with VisualStudio in windows at first, it will make the work easier.

Enjoy Coding, Enjoy Life.

yin guangyong RE: Problem with NDK-GDB !!
Posts 2
Added by yin guangyong almost 2 years ago

but some problem only happend in android,it works well in windows

Zhe Wang RE: Problem with NDK-GDB !!
Posts 1642
Location Amoy, China
Added by Zhe Wang almost 2 years ago

print log, CCLOG...

Enjoy Coding, Enjoy Life.

Isaac Ashdown RE: Problem with NDK-GDB !!
Posts 61
Added by Isaac Ashdown almost 2 years ago

I also have never got the GDB working correctly. There are tutorials on the internet from people who claim they have, but not with cocos2d-x. Maybe one day google will give us a real solution...

Devang Shah RE: Problem with NDK-GDB !!
Posts 5
Added by Devang Shah almost 2 years ago

Walzer Wang wrote:

print log, CCLOG...

Hey can you please let me know how to use CCLog to print variable, string values at runtime?

THanks

Minggo Zhang RE: Problem with NDK-GDB !!
Posts 1641
Added by Minggo Zhang almost 2 years ago

You can use it like printf().

Alexander Perepelitsyn RE: Problem with NDK-GDB !!
Posts 11
Added by Alexander Perepelitsyn over 1 year ago

I using ndk-gdb with ndkR6- work perfect without any patches, nut it wasn't worked at r5.


(1-7/7)