Skip to content

Tag: debugging

IntelliJ IDEA debugger follow child process

We have some Java code that starts a new process using the following code: Runtime.getRuntime().exec(command); I’d like to be able to tell the debugger that it should follow the child process like you can do with GDB as documented here by issuing the set follow-fork-mode child command. Is there somethin…

Very slow debugging in Eclipse

I try to debug Jonas webapp under Eclipse. Unfortunately when I connect to the remote application everything works terriblly slow (also after killing all java applications and restarting the PC). I use also JRebel. What might be the cause of such behaviour? Answer You could also try using the Java Monitoring …

Eclipse shows strange [DEBUG], I want to disable it

As per the below Code, I am getting every single details of the program as debug, which I want to get rid of. If is taking too much time when running the Application. How can I get those [DEBUG] disabled? Answer I am getting every single details of the program as debug, which I want to get rid of. ORMLite

Tracking “hidden” exceptions

I am inspecting the output of a program of mine where from time to time I see a message like “java.lang.NullPointerException” and nothing else. Because this doesn’t come from my code, I am pretty sure, there is some 3rd party library, where some jerk has done something like: catch ( ex ) { p…

Eclipse debugging “source not found”

I just started using Eclipse so go easy on me ;). But when trying to debug a JUnit test case I get a dialog that states the the source is not found when I get to this line in the code in my test method: I know I should probably go and try and download the source from somewhere, but