Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8430275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:33:46+00:00 2026-06-10T05:33:46+00:00

My issue isn’t a new one, and I found several threads about it, yet

  • 0

My issue isn’t a new one, and I found several threads about it, yet no one was helpful for me.
I hope this one will.

I can’t debug with eclipse. It recognizes breakpoints, switches to debug view, but somehow it gets out of sync and I can’t debug my code. Sometimes It works, but after a while It happens again.

I work with JDK 1.6.0_24, Glassfish 3.1, eclipse INDIGO (but it also happens on HELIOS).

I tried (as I found in this site) to set eclipse to use Parallel GC. I tried put it in the eclipse.ini file, I tried to put in the glassfish VM arguments itself, and I tried to put it at eclipse JDK additional VM arguments (preference -> installed JRE-> JDK -> etc). Nothing seem to work for me. I also tried them all together.

Help me please..

Thank you all from advance,
Ido

EDIT:

OK, I noticed few more things:

On the Debug view, in my stck trace, I found the exact class with the breakpoint is paused and it had this comment: “(Suspended breakpoint at line XX)”. When I clicked the line, suddenly the green line appeared. Yet, as soon as I clicked F6 to continue, It went out of sync again, just the next line became suspended. Weird.

I checked the processes running on my computer and found that there are several “java.exe” processes running at the same time. (eclipse runs on javaw.exe). Maybe this is why glassfish and eclipse refuse to work together.

I checked the build path and found that this is my output folder: project-name/target/classes. Is this good?

Any thoughts?

Ido

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:33:48+00:00Added an answer on June 10, 2026 at 5:33 am

    So, I couldn’t fix this but I found a workaround that completely solves this – FINALLY!.

    I just stopped using glassfish WTP for debugging and set a remote debug to my local glassfish. it works perfectly with few minor annoying things – but breakpoints finally noticed.

    Set remote debug

    1. Go to your glassfish admin console and set your glassfish to work on debug mode.
      Click on configuration –> server-config –> JVM settings, and check debug enabled check box.
      Restart server

    2. In eclipse – start server on normal mode (not debug – it is useless).

    3. Go to Debug configurations and locate “Remote Java Application”

    4. Create a new Remote java app debug config

    5. Enter name (lets say Glassfish-Debug)

    6. Choose project to debug

    7. Enter your own IP address in the host section and set the port to 9009
      enter image description here

    8. This is optional but it is more comfortable to work with:
      Go to “Common” tab, and check the Debug check box.
      This will make this Glassfish remote debugging configuration constant on your debug menu.
      enter image description here

    That’s it. Now all you have to do is always start your Glassfish in normal mode and then go to Debug configurations and run This Glassfish remote debugging you just set.
    enter image description here

    And now I’m getting to the annoying part: After rebuild your project, sometimes you might get again out of sync. You just need to disconnect the remote debugging session and run it again. Small price to pay.

    I hope it helps..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am definitely not seeing the issue as to why this isn't working. Any
This isn't that big of an issue but its been bugging me I wanted
This isn't really an issue, however I am curious. When I save a string
I know this isn't a unique issue but I've not had much luck finding
I have in my url this http://www.test.com/?jjjanu@gmail.com&tid=RetEm_Welcome_resp_05232012 issue isn that it is not http://www.test.com/?email
This isn't a big issue for me (as far as I'm aware), it's more
hello i have a silly issue, my link isn't shown. i use the same
I have an issue with importing the scipy.special package. It isn't harmful, just annoying/interesting.
as part of my time isn't dedicated to PHP dev, I'm having an issue
Hopefully my issue isn't too silly but I'm having the following problem... I'm importing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.