Sponsored Content
Full Discussion: multiprocess debugger
Top Forums Programming multiprocess debugger Post 302127908 by andryk on Friday 20th of July 2007 04:14:56 AM
Old 07-20-2007
Quote:
Originally Posted by rvan
Hi,

can somebody advise on a better multiprocess debugger?
I heard with gdb we face lots of problems in multiprocess scenario
currently i am using gdb debugger for a single process multithreaded project..
since i am supposed to work on a multiprocess now, i googled and came across "Totalview"... but i felt if somebody who has the experience with multiprocess debugging can guide me in a better way..


P.S. Am working on C and Red hat Linux


Thanks
Cant think of a debugger other than gdb right now and it was really a pain in the ... back then when i was fixing in a multiprocess/threaded 'goodies' Smilie
One approach is to fix your code by yourself and use the debugger at the very last
 

10 More Discussions You Might Find Interesting

1. Programming

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 (4 Replies)
Discussion started by: Sven28
4 Replies

2. Programming

how to use a c debugger in linux/unix

can anyone suggest tutorial sites for using c debugger in linux/unix environments (1 Reply)
Discussion started by: wojtyla
1 Replies

3. UNIX for Advanced & Expert Users

where to get Kernel debugger

hi , does anybody know about where to get kernel debugger for linux kernel version 2.6.11. I found it in oss.sgi.com.But there i have to download through ftp,which is not enabled here. So can anybody tell where can i get kdb(kernel debugger)through http. thanks in advance sriram (0 Replies)
Discussion started by: sriram.ec
0 Replies

4. UNIX for Advanced & Expert Users

Kernel debugger

hi, I want to have a debugger for my kernel and I am using kernel-2.6.11 n i am having patches kdb-v4.4-2.6.11-common-1.bz2 kdb-v4.4-2.6.11-i386-1.bz2. I applied both. I did make menuconfig with options CONFIG_KDB n CONFIG_FRAME_POINTER being set. when i tried to compile kernel. I got an... (0 Replies)
Discussion started by: sriram.ec
0 Replies

5. UNIX for Dummies Questions & Answers

unix debugger

hello i'm working on cobol with unix just want to know if there is any command in unix that related to debugger i've been told something like anim command i try to search for man anim result :ERROR: Manual entry does not exist for page anim does anyone have an answer ? another thing ... (1 Reply)
Discussion started by: naamas03
1 Replies

6. HP-UX

symbolic debugger for UNIX

I'm wanting to use a symbolic debugger to find a problem with a C program I'm working on in the HP-UX engine B.10.20 E 9000/800 environment; I've used the GNU debugger on Linux, but it does not exist on UNIX. A fellow here mentioned DDE, Distributed Debugging Environment, but I don't seem to be... (3 Replies)
Discussion started by: cleopard
3 Replies

7. Programming

Good C debugger ?

I'm a C newbie using gcc. I wrote a program but a part of it outputs gibberish onto the terminal. Its weird because identical parts of the program work correctly in another program I wrote :confused:. My program uses c99 + some POSIX headers. It compiles with no errors/warnings even though I have... (15 Replies)
Discussion started by: cyler
15 Replies

8. Programming

Dbx Debugger

I have tried lots of stuff but i can't get it working, i have also found a Thread in this Forum about it but it didn't describe how the program has to be run ect. My issue is that i want to run a program with multiple arguments eg. ./myprog arg1 arg2 arg3 arg4 arg5 with dbx, but i cant get... (8 Replies)
Discussion started by: alcatros
8 Replies

9. Solaris

Csharp Debugger

I want to debug my csharp project on solaris. Is anyone can tell me a program or anything else for this?? (0 Replies)
Discussion started by: dConstantine
0 Replies

10. Programming

Alternative debugger to GNU insight debugger

GNU insight debugger is not available now a days and it is required to debug/inspect assembly code as written in the book Assembly Language Programming step by step in Linux so my question is; is there any alternative to insight that I can use instead of insight in which I can get the same... (5 Replies)
Discussion started by: vectrum
5 Replies
LLDB(1) 						    BSD General Commands Manual 						   LLDB(1)

NAME
lldb -- The debugger SYNOPSIS
lldb [-hvdexw] [-a arch] [-l script-language] [-s lldb-commands] [-n process-name] [-p pid] [[--] <PROGRAM-ARG1> <PROGRAM-ARG2> ...] DESCRIPTION
lldb is the command line interface for the LLDB debugger library. lldb can debug C, C++, Objective-C, and Objective-C++ programs. The following options are available: -h, --help Prints out the usage information for the lldb debugger. The --help text may be more up-to-date and authoritative than the command line options described in this man page. -v, --version Prints out the version number of the lldb debugger. -a, --arch arch Specifies which architecture lldb will use when launching the specified program (assuming the provided executable is built for multi- ple architectures.) -f, --file filename Specifies the executable file that will be launching / attaching to. -n, --attach-name process-name Specifies the name of a currently-running process to attach to. (or the name of a process to wait for if -w is used.) -w, --wait-for When used in concert with -n process-name-E, indicates that lldb should wait for a new process of that name to be started -- and attach to it as early in the process-launch as possible. -p, --attach-pid pid Specifies a currently running process that lldb should attach to. -l, --script-language language Tells the debugger to use the specified scripting language for user-defined scripts, rather than the default. Valid scripting lan- guages that can be specified include Python, Perl, Ruby and Tcl. Currently only the Python extensions have been implemented. -d, --debug Tells the debugger to print out extra information for debugging itself. -s, --source filename Tells lldb to read in and execute the file "filename", which should contain lldb commands. -e, --editor Instructs lldb to open source files using the host's "external editor" mechanism. -x, --no-lldbinit Do not automatically parse any '.lldbinit' files. (If you don't provide -f then the first argument will be the file to be debugged so 'lldb -- <filename> [<ARG1> [<ARG2>]]' also works. Remember to end the options with "--" if any of your arguments have a "-" in them.) USING LLDB
In lldb there is a help command which can be used to find descriptions and examples of all lldb commands. To get help on "breakpoint set" you would type "help breakpoint set". There is also an apropos command which will search the help text of all commands for a given term -- this is useful for locating a command by topic. For instance, "apropos breakpoint" will list any command that has the word breakpoint in its help text. FILES
lldb will read settings/aliases/commands from three files at startup, if they exist. First, it will read a ~/.lldbinit-debugger command file. If you are using the lldb command line interface, this is ~/.lldbinit-lldb. If you are using lldb inside a GUI debugger like Xcode this will be ~/.lldbinit-Xcode. This is a useful place to put settings that you want to apply only when a given lldb command interpreter is used. Second, ~/.lldbinit is read. Third, an .lldbinit file in the current working directory (where lldb is started) will be read. SEE ALSO
The LLDB project page http://lldb.llvm.org/ has many different resources for lldb users -- the gdb/lldb command equivalence page http://lldb.llvm.org/lldb-gdb.html can be especially helpful for users coming from gdb. BUGS
To report bugs, please visit http://llvm.org/bugs/ AUTHOR
Maintained by the LLDB Team, http://lldb.llvm.org/ Darwin 7 June, 2012 Darwin
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy