Results 1 to 3 of 3
- 03-12-2011, 02:07 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 9
- Rep Power
- 0
[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.
- 03-12-2011, 03:07 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,373
- Blog Entries
- 7
- Rep Power
- 17
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,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 03-12-2011, 04:03 PM #3
Member
- Join Date
- Oct 2010
- Posts
- 9
- Rep Power
- 0
Similar Threads
-
How to force applet to use libraries?
By Arvutis6ber in forum Java AppletsReplies: 1Last Post: 09-20-2010, 02:24 PM -
Inserting line into text file
By Onra in forum Advanced JavaReplies: 5Last Post: 09-14-2010, 11:21 AM -
Debug challenge: how do you debug a Java program?
By CJSLMAN in forum New To JavaReplies: 60Last Post: 07-04-2009, 10:28 AM -
[SOLVED] Inserting at the cursor/Pointer location in a JTextField.
By caryr in forum AWT / SwingReplies: 4Last Post: 06-23-2009, 04:23 PM -
get position in string from caret position
By helloworld111 in forum AWT / SwingReplies: 5Last Post: 02-19-2009, 01:36 AM


LinkBack URL
About LinkBacks

Bookmarks