• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Verbose Logging in Java

 
K Nally
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way in Java to display everything that is going on during the execution of a Java program? I have a Java program that is accessing a 3rd party's APIs and I'm encountering non-Java errors. Is there a verbose debugging command?
Thanks.
K
 
Joe Ess
Bartender
Posts: 9318
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. Run your program using jdb rather than java. That's the command line debugger. You can step through your whole program line by line.
As for "logging", there's only what you put into your java program. You'd best check your 3rd party library's documentation to see if there's any parameters you can give it to get more verbose output. Unless they gave you the source code, even a visual debugger like jswat isn't going to be much help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic