facebook

can’t debug – debugger constantly loses focus of my thread

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #349761 Reply

    keith winton
    Participant

    I’m remote debugging a client-server app running on my system, and it’s essentially impossible to do it, because the debugger constantly takes focus off my thread, and the instant I click back on it it takes focus away again.

    This eclipse bug, which shows resolved, might possibly be explaining my issue.

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=423898

    Is there any kind of work around or something I can do so that I can debug?

    #349770 Reply

    keith_d_winton,

    We couldn’t replicate the issue at our end on MyEclipse 2014 and Tomcat 7.x application server.

    Can you please answer some more queries to help us investigate further :
    1) Please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details.

    2) Please mention the application server you are using for ‘Remote debugging’. Here is the tutorial for Remote debugging in MyEclipse.

    the debugger constantly takes focus off my thread, and the instant I click back on it it takes focus away again.

    3) Can you please clarify at what step you are seeing this issue ? Is it while clicking ‘Step over’ / ‘Step return’ / ‘Step Into’ ? Can you please attach the screenshot of the issue(clicking on thread takes the focus away) to help us visualise the issue ?

    4) Clear the contents of .log file located at <Workspace dir>/.metadata/.log file, replicate the issue and attach the .log file if there are any errors of interest.

    #349774 Reply

    keith winton
    Participant

    The application is a java daemon service job communicating with “fat” java clients via RMI.

    There is no app server in the middle. Issue happens both when debugging the server and when debugging the clients (both set up as remote java applications, the clients with “JAVAWS_VM_ARGS” environment variable and the server with “-Xdebug -Xrunjdwp:transport=dt_socket….” on command line.

    Installation details are attached as file.

    Image of debug window attached.

    So far no errors of note in the log – will send if there are some.

    It sort of superficially seems like the problem is that the debugging breakpoint thread isn’t “at the top”, and keeps losing focus and other various threads start up in the service job (threads with no breakpoint, but that wake up and then complete their work and stop quickly)

    Attachments:
    You must be logged in to view attached files.
    #349781 Reply

    keith_d_winton,

    Thanks for the details provided. I have created a simple server/client setup at my end and couldn’t replicate the issue.

    Can you please be more clear on what is exactly happening to the focus ? Also please attach the sample projects to help us investigate further ?

    Can you please open two different instances of MyEclipse (one for server debugging, one for client debugging) and check if you can replicate the issue.

    I suggest you to cross post on Eclipse forums for better help, as this is a base eclipse feature.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: can’t debug – debugger constantly loses focus of my thread

You must be logged in to post in the forum log in