facebook

[Closed] debugger does not move to correct line

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #250205 Reply

    I am running a project in tomcat. When I place breakpoints and hit them, the debugger prespective starts. The problem is that the debuger does not take me to the line where execution is taking place. I find myself having to open files and follow the thread execution to know where the debugger is. That slows me down and makes the process very difficult and time consuming. Any suggestions?

    Khalid

    #250230 Reply

    Riyad Kalla
    Member

    Khalid,
    Try shutting down Tomcat and restarting MyEclipse using the -clean command line argument. Then remove your deployment, rebuild your project (Project > Clean) and recreate your deployment.

    Try and work all the gremlins out of the system.

    #250247 Reply

    Riyad,

    that did not solve the problem. Every time I go to debug mode, the code is out of focus and still can not walk through the code. Any other suggestions?

    Khalid

    #250265 Reply

    Well, I reinstalled eclipse and myeclipse and that seems to fix the problem.

    Khalid

    #250276 Reply

    Riyad Kalla
    Member

    Khalid,
    I’m glad to hear it’s working now, sorry for the delay, I had asked one of the developers to have a look at this thread if he knew a reason why this would be happening.

    #250877 Reply

    nreeve
    Member

    Hi,

    I am having this problem as well. It only seems to be for one project in my workspace. I have uninstalled myeclipse and it is still there. Have tried removing and re-adding project, restarting with the -clean flag etc.

    Any ideas as I don’t really want to reinstall eclipse?

    Thanks,
    Nick

    #250883 Reply

    Riyad Kalla
    Member

    Nick,
    The fix might be a clean workspace. There should be invalid plugin state stored in the workspace causing the pluin to act strangely. If you export your settings using File > Export > Preferences, then create a new workspace with (File > Switch Workspace, and point to a new dir that doesn’t exist and hit OK), now import your preferences AND your problomatic project, does it work now?

    #250886 Reply

    nreeve
    Member

    Nope, same problem. I thought that was going to fix it as well.

    It’s strange that it is only one project?

    Thanks for your help

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] debugger does not move to correct line

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