What do you mean by 'native code' as in the OS itself? Or your
application?
If for your application code, on the left of the code. right click and
click add breakpoint where you wish to start the debugging.
When you deploy your code to your device, click the button to the left
of the RUN button, which is DEBUG.
This will deploy your code and attach a debugger to it.
When the project comes to the point where it hits a breakpoint,
Eclipse will open you debugging perspective, (Top right of the IDE to
manually switch perspective).
This is where you will be able to step through yuor code as it runs.
The step buttons wil be in the window in the top left of the
prespective.

If you are looking to debug to OS, the best thing i can tell you is to
watch the LogCat.

On Jan 23, 12:29 am, srinivasan shanmugam <srinivasan....@gmail.com>
wrote:
> Dear All,
>
> I want to debug my native code by keeping breakpoints in my java code
> where am calling my native code & by keeping breakpoints in my native
> code defination.
>
> Could any body pls share any appropriate documents with all the
> necessary steps in how to debug native code by keeping breakpoints in
> either windows/linux PC because i tried the below links which was
> provided in the internet this did not work for me
>
> http://tegradeveloper.nvidia.com/tegra/forum/android-debugging-eclips...http://developer.download.nvidia.com/tegra/files/tegra-oprofile-20100...
>
> http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-c...
>
> http://eclipse.org/sequoyah/documentation/native_debug.php
>
> Kindly do the needful as soon as possible,
>
> Awaiting for your replies,
> Advanced thanks,
> Srinivasan S

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to