Skip to content
Advertisement

Tag: debugging

Java JDB: ERROR: transport error 202: gethostbyname: unknown host

I have a very similar error message to this post; however, the solution on that same post did not work for me. Editing the host file my adding in 127.0.0.1 my-host-name to my hosts file (per solution in linked thread) did nothing for me unfortunately. After “run” in JDB, I get the following error message: Initializing jdb … run run

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 something equivalent in the IntelliJ IDEA Java debugger? If so how

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 and Management Console. This may help show where the

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 ) { println ex.getMessage () }. Is there a

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

Advertisement