Results 1 to 3 of 3
  1. #1
    nxhoaf is offline Member
    Join Date
    Oct 2010
    Posts
    9
    Rep Power
    0

    Default [Debug] Force the pointer point to the right position after inserting new line

    Hello,
    I'm using eclipse Helios, and I have a question: When I try to debug an application, each time I add something (ex : comment...) and then continue debugging ( press f6 ) the debug pointer ( or the hightlight line) don't point to the right line as it did before the insertion, the offset is relative to number of lines which I added. So, what can I do to force the pointer to point to the right place without restart debugging.
    Thanks.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,044
    Blog Entries
    7
    Rep Power
    23

    Default

    Press Ctrl-S or Ctrl-Shift-S to save your file after you've added those comment lines. At the next debug step the pointer wil be in sync again.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  3. #3
    nxhoaf is offline Member
    Join Date
    Oct 2010
    Posts
    9
    Rep Power
    0

    Default

    Thank you, it worked, after saving files, and then click "refresh" button.

Similar Threads

  1. How to force applet to use libraries?
    By Arvutis6ber in forum Java Applets
    Replies: 1
    Last Post: 09-20-2010, 02:24 PM
  2. Inserting line into text file
    By Onra in forum Advanced Java
    Replies: 5
    Last Post: 09-14-2010, 11:21 AM
  3. Debug challenge: how do you debug a Java program?
    By CJSLMAN in forum New To Java
    Replies: 60
    Last Post: 07-04-2009, 10:28 AM
  4. Replies: 4
    Last Post: 06-23-2009, 04:23 PM
  5. get position in string from caret position
    By helloworld111 in forum AWT / Swing
    Replies: 5
    Last Post: 02-19-2009, 02:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •