I've tried off and on for the last six months to get any app running
under jdb. I'm familiar with gdb, and I've studied jdb's help and the
debugger section of 'Core Java' but it simply doesn't fly.
Do any jdb variants actually run on linux? Can anyone provide a
simple working example of launching an app with it?
I've resorted to running strace on it, after typing the 'run' command
to launch the child VM, the next command, no matter what it is, (of those
I've tried) always stops with:
read(8, "PK\3\4\n\0\0\0\0\0\322UW)\205\34\352\3655\n\0\0005\n\0"..., 84) = 84
_llseek(8, 3986303, [3986303], SEEK_SET) = 0
read(8, "\312\376\272\276\0\3\0-\0\201\n\0\25\0=\n\0\25\0>\7\0?"..., 2613) = 2613
send(10, "\0\0\0\v\0\0\0\21\0\1\3", 11, 0) = 11
rt_sigprocmask(SIG_SETMASK, NULL, [RT_0], 8) = 0
rt_sigsuspend([]
And my app never starts running. Am I doing something stupidly
obviously wrong, or is jdb simply nonfunctional on linux no matter whose
jvm is involved?
--
Joi Ellis Software Engineer
Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]