How To Do C/c++ Debugging In Linux Os?? Pls Help Me,its Urgent!!!!?

November 21st, 2009 by admin | Filed under Linux Debugging

I need to do c/c++ code debugging in linux, as I didnt know more about linux… wt are the difference we find in c/c++ coding when we debug it with linux operating sys… pls tell me clearly…. tanx.

Related Posts:

tag_iconTags: | | | | |

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “How To Do C/c++ Debugging In Linux Os?? Pls Help Me,its Urgent!!!!?”.

  1. riya :

    If you’re using an IDE like KDevelop or Eclipse, the debugger is built into the IDE (as it typically is with Windows IDEs) In eclipse, for example:
    Load the file you’re working with.
    Switch to the debug perspective (I think that’s in the Run menu, but it might be easiest to just use the debug icon the first time to get into debug perspective.
    The GUI will change a little bit, adding some new panels for viewing your current variables and a stack trace.
    Right click on a line in the code view to add a breakpoint.
    Run by using the debug icon (rather than the normal run icon)
    Your code will pause at the breakpoint.
    You can examine variables or step through the code one line at a time.
    If you aren’t using a GUI, you can always use gdb.http://www.gnu.org/software/gdb/
    It’s an extremely powerful tool, but it runs on the command line and it can be a bit intimidating to beginners.

  2. two pi :

Leave a comment.

To leave a comment, please fill in the fields below.

Powered by Yahoo! Answers