03-19-2009
Why not debug them as two separate gdb instances? Is there any particular reason or advantage such that you need to debug both the client and server together in one instance of gdb?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I want to debug a child process which is forked from other process.
Whenever I try to attach the pid of child process to gbd, the
process gets killed and the parent process starts a new child process.
any idea what could be the reason.
In general how can i debug a child process... (4 Replies)
Discussion started by: shriashishpatil
4 Replies
2. Programming
If an executalbe file has several parameters, gdb can not pass parameters correctly. Let us see:
run:
./executablefile1 agr1 arg2 arg3
debug:
gdb executablefile1
run executalbefile1 arg1 arg2 arg3
then argv : executablefile1
argv : executablefile
argv : arg1
... (3 Replies)
Discussion started by: cdbug
3 Replies
3. Programming
I created one file (test.cpp)and complied it and get the executable file(test) and run it.It is giving the out put but when I am trying to debug that executable.I am getting the error --
please tell me the solutions??
Thanks in advance ..... (2 Replies)
Discussion started by: smartgupta
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
This is a simple question on GDB. Given a core file, how can you check which process has dumped the core?
Regards
- Krishna (1 Reply)
Discussion started by: krishnamurthig
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
(gdb) target remote 192.168.185.196:1389
Remote debugging using 192.168.185.196:1389
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0x2fbd0800 in ?? ()
(gdb) l
1 ... (0 Replies)
Discussion started by: yanglei_fage
0 Replies
6. Programming
Hi ,
Any gdb user could see my problem.
Let me describe what i want to do.
i have a test utility to send message to running process.
My interest is to go through to functions calls when my test case starts.
In a simple way i want have a code walk for a particular scenario of a test... (1 Reply)
Discussion started by: meet123321
1 Replies
7. Programming
i have created some break points in gdb.
let's say....
b sqlcxt
how can i know the breakpoint name of sqlcxt ??? (1 Reply)
Discussion started by: lipun4u
1 Replies
8. Programming
I'm sorry if the title is really criptic, but I don't know how to phrase my problem.
I know I can't really ask for a solution, and I normally wouldn't but this is really escaping my abilities.
Antefacts.
I developed a program using the zeromq messaging library.
I got to a point where the... (11 Replies)
Discussion started by: erupter
11 Replies
9. UNIX for Dummies Questions & Answers
Hi Gurus,
I am debugging a script. it loops filelist. since the list a very long. when debugging, I only can see the last a few lines. is there any way to stop debuger in the mid of process.
the command I used for debugging is:
ksh -x scriptName
Thanks in advance (7 Replies)
Discussion started by: ken6503
7 Replies
10. Programming
Some background:
The application normally runs on an embedded platform. Currently, for development purposes, I have the rootfs located @ /exports and the target is communicating over NFS. That way I can make a change on my local system, save the application @ /exports, and run the altered... (4 Replies)
Discussion started by: Circuits
4 Replies
LEARN ABOUT MOJAVE
jsadebugd
jsadebugd(1) General Commands Manual jsadebugd(1)
NAME
jsadebugd - serviceability agent debug daemon
SYNOPSIS
jsadebugd [pid] [server-id]
jsadebugd executable core [server-id]
DESCRIPTION
jsadebugd attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack, jmap, and jinfo can attach to
the server using Java Remote Method Invocation (RMI). Before starting jsadebugd, rmiregistry must be started with:
rmiregistry -J-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar
where $JAVA_HOME is the J2SE SDK installation directory. If rmiregistry was not started, jsadebugd will start an rmiregistry in a standard
(1099) port internally. Debug server may be stopped by sending SIGINT (pressing Ctrl-C) to it.
NOTE - This utility is unsupported and may or may not be available in future versions of the J2SE SDK. jinfo is not currently available on
Windows platforms or on the Linux Itanium platform.
PARAMETERS
pid process id of the process to which the debug server should attach. The process must be a Java process. To get a list of Java
processes running on a machine, jps may be used. At most one instance of the debug server may be attached to a single
process.
executable Java executable from which the core dump was produced.
core core file to which the debug server should attach.
server-id optional unique id, needed if multiple debug servers are started on the same machine. This ID must be used by remote clients
to identify the particular debug server to attach. Within a single machine, this ID must be unique.
SEE ALSO
jinfo(1) jmap(1) jps(1) jstack(1) rmiregistry(1)
13 June 2004 jsadebugd(1)