Slow debug response

Hello,

I use my linode to run a Java app.
The app itself runs fine, but if I try to remote debug it (using IntelliJ IDEA) it runs extremely slow.
Why is that?

3 Replies

How remote is the debugger from the app?

— sw

The debugger is on my computer, and its set up to debug the linode machince.

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005

The debugger is on my computer, and its set up to debug the linode machince.
 
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005

I'm assuming your answer means that the debugger is not running alongside the app on the Linode. If there's a network between the debugger and the app, there's latency involved. It's inherent in network traffic.

Even if the debugger was running alongside the app, if you're using the network stack, there's latency involved. There would also be latency involved if the debugger was running alongside the app and it was sending its display to a remote window.

This may give you some ideas:

https://stackoverflow.com/questions/46292095/intelliji-idea-is-very-slow-in-debug-mode-and-it-is-running-perfectly-in-normal

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct