Then you'll want to read IBM's Tutorial on how to do it. Annoying (free) registration required
The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
| [reply] |
Or you can get it
straight from SF.net wo/ the registration nuisance.
I haven't tried EPIC in quite awhile, the debugger looks much better than before.
Has anyone debugged threaded apps w/ it yet ?
I'm not a big Eclipse fan, but the re-install may be worth the effort if its the only
debugger that sensibly supports ithreads.
Update:
OK, I lied...the docs above didn't bother to mention how BPs are added.
So, to save you all the bothersome task of entering a bogus registration,
here's the skinny:
After you enter Debug mode, right click in the border (in my case,
the line number border) next to the line you want a BP on. Then select
"Add Remove Breakpoint" from the popup menu.
A BP icon will then be added next to the line.
That being said, my prelim attempts to debug a very simple threaded
app leave me with the same sense I had before: Eclipse seems way too
non-obvious to me. At a minimum, I think it violates my favorite Perl mantra,
"Simple things should be easy, and hard things should be possible."
And while EPIC seems to attempt ithreads support, I can't seem to get
it to behave (Note: I'm using the "test" version, which may be the source
of my difficulties, but the ChangeLog leads me to believe I'll have
many more problems with the "stable" release).
So I guess its back to perl -d for the time being...
| [reply] |