* Need a DecThreads supporting debugger
@ 1995-06-08 4:00 Isaac Younger
1995-06-09 4:00 ` Jeff Diewald
0 siblings, 1 reply; 6+ messages in thread
From: Isaac Younger @ 1995-06-08 4:00 UTC (permalink / raw)
Hi all,
I am currently developing a multithreaded application using DecThreads
on OSF/1 V3.0 I am looking for a debugger which supports threads and
allows me to switch thread contexts, suspend/resume threads etc.
Dbx does not let me do this kind of stuff. Decladebug looks impresive
from the man pages, but is a bit weak (switching thread context is not
correctly reported, examining variables up/down the stack resets my
current stack position, setting thread state gives errors even though I
use the exact syntax from the man pages).
If anyone can recommand a good debugger or offer tips on using dbx and
Decladebug, please e-mail or post. Any help would be greatlly
appreciated.
Thanks
--
Isaac Younger iyounger@nyx10.cs.du.edu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need a DecThreads supporting debugger
1995-06-08 4:00 Need a DecThreads supporting debugger Isaac Younger
@ 1995-06-09 4:00 ` Jeff Diewald
1995-06-12 4:00 ` Jim Matthews
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Diewald @ 1995-06-09 4:00 UTC (permalink / raw)
In article <3r7kqb$j0i@nyx.cs.du.edu>, iyounger@nyx.cs.du.edu (Isaac Younger) writes:
|>
|>Hi all,
|>
|>I am currently developing a multithreaded application using DecThreads
|>on OSF/1 V3.0 I am looking for a debugger which supports threads and
|>allows me to switch thread contexts, suspend/resume threads etc.
|>
|>Dbx does not let me do this kind of stuff. Decladebug looks impresive
|>from the man pages, but is a bit weak (switching thread context is not
|>correctly reported, examining variables up/down the stack resets my
|>current stack position, setting thread state gives errors even though I
|>use the exact syntax from the man pages).
|>
|>If anyone can recommand a good debugger or offer tips on using dbx and
|>Decladebug, please e-mail or post. Any help would be greatlly
|>appreciated.
|>
Isaac,
It sounds to me like you're using an older version of DECladebug.
For example, I know that the "examining variables up/down the stack
resets my current stack position" problem was fixed quite some time
ago. (I checked in the fix on 20-Dec-1994, to be exact.)
I am not aware of the problems you hint at in your posting. If we
were, we'd fix them. Our thread testing suite is run every night, and
it exercises all of the functionality you mention - without problems.
It's very possible that the bugs have already been fixed. Have you
reported these problems with bug reports to Digital?
I'd suggest that you upgrade your version of DECladebug. Contact
your local Digital representative for the details. If you still have
problems, please file a problem report using the official channels.
Those reports will get to us - so we can fix the problems.
-----------------------------------------------------------------------------
Jeff Diewald EASYNET: VIRRUS::DIEWALD
DECladebug group INTERNET: diewald@virrus.zko.dec.com
Digital Equipment Corp.
Note: I don't read every article in this group. If you have debugger
questions, I may be able to get you an answer. You're much more likely to
get an answer if you put "DECladebug" somewhere in your subject line.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need a DecThreads supporting debugger
1995-06-09 4:00 ` Jeff Diewald
@ 1995-06-12 4:00 ` Jim Matthews
1995-06-13 4:00 ` Jeff Diewald
0 siblings, 1 reply; 6+ messages in thread
From: Jim Matthews @ 1995-06-12 4:00 UTC (permalink / raw)
One thing that even the lastest decladebug can not do is debug the core
files of threaded programs. Jeff has written that this is due to an OS
limitation. Writing threaded servers would be much more pleasant if the
next release of DEC Unix had this support.
Jim Matthews
Dartmouth Software Development
<http://www.dartmouth.edu/pages/softdev/>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need a DecThreads supporting debugger
1995-06-12 4:00 ` Jim Matthews
@ 1995-06-13 4:00 ` Jeff Diewald
1995-06-17 4:00 ` Vipin Gokhale
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Diewald @ 1995-06-13 4:00 UTC (permalink / raw)
In article <Jim.Matthews-1206951118050001@kip-2-sn-443.dartmouth.edu>, Jim.Matthews@dartvax.dartmouth.edu (Jim Matthews) writes:
|>One thing that even the lastest decladebug can not do is debug the core
|>files of threaded programs. Jeff has written that this is due to an OS
|>limitation. Writing threaded servers would be much more pleasant if the
|>next release of DEC Unix had this support.
|>
Jim,
There is a surprising amount of work that needs to be done to make
debugging of core files from threaded programs work correctly. Most of
this work has to be done in the operating systems (the thread libraries,
actually) and some has to be done in DECladebug. Support for threaded
core files is high on our priority list; when we get the OS support we
need, I'm sure our support will quickly follow. Work is underway to
provide this support in the future, but our code freeze for the next
release is approaching all too quickly...
-----------------------------------------------------------------------------
Jeff Diewald EASYNET: VIRRUS::DIEWALD
DECladebug group INTERNET: diewald@virrus.zko.dec.com
Digital Equipment Corp.
Note: I don't read every article in this group. If you have debugger
questions, I may be able to get you an answer. You're much more likely to
get an answer if you put "DECladebug" somewhere in your subject line.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need a DecThreads supporting debugger
1995-06-13 4:00 ` Jeff Diewald
@ 1995-06-17 4:00 ` Vipin Gokhale
1995-06-19 4:00 ` Tim Lucia
0 siblings, 1 reply; 6+ messages in thread
From: Vipin Gokhale @ 1995-06-17 4:00 UTC (permalink / raw)
In article <3rk6ss$653$1@usenet.pa.dec.com>, diewald@virrus.zko.dec.com (Jeff Diewald) writes:
>
>In article <Jim.Matthews-1206951118050001@kip-2-sn-443.dartmouth.edu>, Jim.Matthews@dartvax.dartmouth.edu (Jim Matthews) writes:
>|>One thing that even the lastest decladebug can not do is debug the core
>|>files of threaded programs. Jeff has written that this is due to an OS
>|>limitation. Writing threaded servers would be much more pleasant if the
>|>next release of DEC Unix had this support.
>|>
>
>Jim,
>
> There is a surprising amount of work that needs to be done to make
>debugging of core files from threaded programs work correctly. Most of
>this work has to be done in the operating systems (the thread libraries,
>actually) and some has to be done in DECladebug. Support for threaded
>core files is high on our priority list; when we get the OS support we
>need, I'm sure our support will quickly follow. Work is underway to
>provide this support in the future, but our code freeze for the next
>release is approaching all too quickly...
>-----------------------------------------------------------------------------
> Jeff Diewald EASYNET: VIRRUS::DIEWALD
> DECladebug group INTERNET: diewald@virrus.zko.dec.com
> Digital Equipment Corp.
>
>Note: I don't read every article in this group. If you have debugger
>questions, I may be able to get you an answer. You're much more likely to
>get an answer if you put "DECladebug" somewhere in your subject line.
>
While on the subject of debuggers and it's usefulness to user community on
DEC Unix, I've had an enhancement request logged ever since /proc support was
introduced to be able to maintain control of process being debugged across
exec() syscall. I wonder if anyone else finds this a useful feature.
--
=====================================================================
Vipin Gokhale
DEC SBU
Oracle Corporation
Disclaimer: Any opinions expressed here are mine and not that
of my employer.
=====================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need a DecThreads supporting debugger
1995-06-17 4:00 ` Vipin Gokhale
@ 1995-06-19 4:00 ` Tim Lucia
0 siblings, 0 replies; 6+ messages in thread
From: Tim Lucia @ 1995-06-19 4:00 UTC (permalink / raw)
In article <3rvmdf$6m3@inet-nntp-gw-1.us.oracle.com>, vgokhale@us.oracle.com (Vipin Gokhale) writes:
<stuff deleted>
|>While on the subject of debuggers and it's usefulness to user community on
|>DEC Unix, I've had an enhancement request logged ever since /proc support was
|>introduced to be able to maintain control of process being debugged across
|>exec() syscall. I wonder if anyone else finds this a useful feature.
|>
|>
|>--
|>=====================================================================
|>Vipin Gokhale
|>DEC SBU
|>Oracle Corporation
|>Disclaimer: Any opinions expressed here are mine and not that
|> of my employer.
|>=====================================================================
|>
We find it useful enough to be actively working on it. Stay tuned.
Tim
--
Timothy J. Lucia - DECladebug Email: mailto:lucia@zko.dec.com
Digital Equipment Corporation Phone: 603.881.2615
110 Spitbrook Road ZKO2-3/K06 Fax: 603.881.0120
Nashua, NH USA 03062-2698 I'd rather be fishing, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1995-06-19 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-08 4:00 Need a DecThreads supporting debugger Isaac Younger
1995-06-09 4:00 ` Jeff Diewald
1995-06-12 4:00 ` Jim Matthews
1995-06-13 4:00 ` Jeff Diewald
1995-06-17 4:00 ` Vipin Gokhale
1995-06-19 4:00 ` Tim Lucia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox