I'm trying to generate a trace file of the execution
of my program. In particular I would like to generate
a stack trace whenever a particular function is called.
(sidebar:
I *LIKE* trace files, because I can awk-grep-perl
in them, and extract useful information. I'd rather
do that that type endlessly into a de*)
I'd like to use adb because it's ubiqutous and reliable.
So I tried the following:
my_func:b $C ; :c
http://www.veryComputer.com/~mac/manuals/solaris-manual-pages/solaris/usr...
(i.e. set a break point on my_func, and when you hit
it, output a stack and, then continue).
BUT:
it hits the break point, outputs a stack trace AND STOPS.
Can anyone help?
BugBear