Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Carey Brown
  • Frits Walraven

Server-Side Debugging Tools

Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
are there any good server-side debugging tools for free?
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse has a remote debugging feature that's worked perfectly for me - it works for any JVM to which you can specify the JVM startup options. If you have Eclipse, check the help files or Google it

Posts: 17346
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I actually just completed writing an article for the JavaRanch newsletter on setting up IntelliJ IDEA and Eclipse to do remote debugging. In the end it is very simple to do, just tough to find good documentation online.

Basically you will start up the server in debug mode. This will allow other JVMs to attach to the server's JVM and hear all the code that is running. Then in you IDE you set a break point on any server side code that will be called.

Run the client code and when the line on the server side gets called your IDE will stop the code from running and allow you to start stepping through code.

You cannot set the break point on client code unless you are able to run that client code directly from your IDE. Or you can sort of also attach to the JVM that is running the client code if you put a pause in the beginning to allow another JVM to attach before the client code is finished running.

Well I am hoping that the article appears in the August newletter which should be released or will be in a couple of days.

You shouldn't have to go out an buy a seperate server-side debugging tool. All IDE's except for Textpad or Visual Notepad, should allow you to do debugging.

Water! People swim in water! Even tiny ads swim in water:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic