![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| multiprocess debugger | rvan | High Level Programming | 1 | 07-20-2007 01:14 AM |
| unix debugger | naamas03 | UNIX for Dummies Questions & Answers | 1 | 09-14-2006 10:31 AM |
| Kernel debugger | sriram.ec | UNIX for Advanced & Expert Users | 0 | 03-23-2006 04:06 AM |
| where to get Kernel debugger | sriram.ec | UNIX for Advanced & Expert Users | 0 | 03-22-2006 07:51 AM |
| ADB Debugger On Unix | surya321 | High Level Programming | 4 | 03-09-2002 09:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
wdb debugger
Hi all,
is it possible to skip a function with the wdb debugger ? could be helpful instead of compiling the whole bunch again does someone know how to do this ? thx Sven |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
As I understand it, wdb is just a front-end to gdb. If so, you can "jump" past any function easily. For example, if you are debugging the following code:
Code:
printf("hello, world\n");
this_is_my_function();
printf("goodbye, world\n");
Code:
break this_is_my_function commands return continue end |
|
#3
|
|||
|
|||
|
Quote:
And how do i get the line number ? where im currently at ? |
|
#4
|
||||
|
||||
|
In gdb as you step through the code the line numbers are displayed. You can type "l" or "list" to see a block of code around the current line. You can type "bt" or "backtrace" to see the function stack.
|
|
#5
|
|||
|
|||
|
thx helped very much
|
|||
| Google The UNIX and Linux Forums |