JDB (attn. squ1d, Sigma)

JDB (attn. squ1d, Sigma)

Postby Cyborg Girl » Mon Nov 17, 2014 10:32 pm

This debugger has no built-in keyboard shortcuts! Or autocompletion! Or command history! Or even, as far as I can tell, means of telling it to repeat a command. Argh!

But anyway: how do I make it show me what *handled* exception caused a program to gracefully exit?

(I'm trying to debug a CLI frontend. For an encryption library. That catches java.lang.Throwable in the main() method of the CLI utility, and is giving me an incredibly vague and unhelpful error message about "bad input." Sigh.)

Edit: somehow I missed <n> <command>. N/M...
User avatar
Cyborg Girl
Boy Genius
 
Posts: 2138
Joined: Mon May 27, 2013 2:54 am

Re: JDB (attn. squ1d, Sigma)

Postby squ1d » Tue Nov 18, 2014 4:53 pm

My advice would be unquestionably to use an IDE so you can be efficient. Command line development is really slow and I would avoid it like the plague. I've never used jdb before because of that fact!

With regards to the exception, have you solved that problem?
squ1d
 
Posts: 679
Joined: Mon May 27, 2013 5:12 pm

Re: JDB (attn. squ1d, Sigma)

Postby Cyborg Girl » Tue Nov 18, 2014 5:33 pm

Figured you'd say that about IDEs... I'll try it in Eclipse I guess. Technically this is not even supposed to be my job, but the Java developers all seem to be otherwise occupied...

And no, I haven't solved it yet. Tried to subscribe to the mailing list -> subscription was never processed, email bounced with a message that I should use their new forums. When to where the forums should be -> got a DNS error, it looks like the site doesn't exist any more. The last SVN commit on the project was over 6 months ago.

*bonk bonk bonk*
User avatar
Cyborg Girl
Boy Genius
 
Posts: 2138
Joined: Mon May 27, 2013 2:54 am

Re: JDB (attn. squ1d, Sigma)

Postby Sigma_Orionis » Tue Nov 18, 2014 5:40 pm

Never used JBD.
Sic Transit Gloria Mundi
User avatar
Sigma_Orionis
Resident Oppressed Latino
 
Posts: 4496
Joined: Mon May 27, 2013 2:19 am
Location: The "Glorious Socialist" Land of Chavez

Re: JDB (attn. squ1d, Sigma)

Postby squ1d » Sat Nov 22, 2014 3:59 am

Full error text? Stack trace?
squ1d
 
Posts: 679
Joined: Mon May 27, 2013 5:12 pm


Return to Sci-Tech… and Stuff

Who is online

Users browsing this forum: No registered users and 21 guests