This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to debug Java Web start application?

 
Ranch Hand
Posts: 41
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone help me how to enable debugging in eclipse for my Web Start application running on Java 1.7? So far i executed these commands from my command prompt


Define a new  “Remote Java Applcation’ in Eclipse with port 8000.

After setting up breakpoints in eclipse and launch my JNLP application it doesn't seem to enable debugging.

Can you please advise if i am missing something.

thanks in advance
 
Marshal
Posts: 25682
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to me that you should be able to run your WebStart application as a plain old Java application, which means you could use Eclipse's regular debugging methods. That's what I used to do when I wrote WebStart apps.
 
vishnu bola
Ranch Hand
Posts: 41
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul - Thank you for your reply. Can you please elaborate more on debugging a plain old java application in eclipse. In my case i want to be able to switch to eclipse and stop at a break point when i enter some input values on a window pane and hit create project in my webstart app. Please advise.

thank you
 
Paul Clapham
Marshal
Posts: 25682
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, but I'm sure you didn't really mean to ask me to take the time to write a tutorial about how to debug Java applications in Eclipse for you, right? I'm sure you can find one on the Internet much faster than waiting for me to write one for you.

And besides, you already alluded to "setting breakpoints". There isn't much more to be said -- you just need to find the "Debug" button in Eclipse and you're pretty much done.
 
Your buns are mine! But you can have this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic