Solved

adb

Posted on 1998-06-06
1
184 Views
Last Modified: 2010-04-21
who can tell me how to  use  adb to debug a chile process.Usually adb is terminated when thed parent process is ending even a child process is forked.Now I want to debug the child process,and I don't have source code
0
Comment
Question by:yechen
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 2007356
If your adb has no option to "follow child" processes, set a breakpoint at the fork() then single-step 'til the child process is visible with ps, then start a new adb attached to the new PID
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question