nkd debug problemsl

Hi,

I’m trying to debug an android cocos2dx game, but I’m having a lot of problems.
After launch the game and stop the execution with a breakpoint in the java code. I launch the cygwin console and write the command:

Juanal@Juanal-PC /cygdrive/C/Users/Juanal/Desktop/cocos2d-1.0.1-x-0.11.0/MyGameAndroid/android
$ /cygdrive/C/develop/android-ndk-r7/ndk-gdb

but the result is this:

cygwin warning:
MS-DOS style path detected: C:~~ndk-r7
Preferred POSIX equivalent is: /cygdrive/c/develop/android-ndk-r7
CYGWIN environment variable option “nodosfilewarning” turns off this warning.
Consult the user’s guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
awk: fatal: can’t open source file `/cygdrive/C/Users/Juanal/Desktop/cocos2d-1.0.1-x-0.11.0/MyGameAndroid/android/C:~~ndk-r7/build/awk/check-awk.awk’ for reading (No such file or directory)
ERROR: Could not run ‘awk’ command. Do you have it installed properly?

Of course, this path isn’t correct:
`/cygdrive/C/Users/Juanal/Desktop/cocos2d-1.0.1-x-0.11.0/MyGameAndroid/android/C:~~ndk-r7/build/awk/check-awk.awk’
since it’s a mixture of the cygwin path of my project:
/cygdrive/C/Users/Juanal/Desktop/cocos2d-1.0.1-x-0.11.0/MyGameAndroid/android
and the windows path of my ndk:
C:~~ndk-r7/build/awk/check-awk.awk

How can I resolve this problem?

Thanks in advance.

Juanal

Sorry, I have little experience about ndk-gdb, maybe you can refer http://www.cocos2d-x.org/boards/6/topics/567.
There is a article describes how to debug with eclipse.

How can I resolve this problem?

Did you work out a solution?