Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

Adding Line Breakpoints

Line breakpoints are set on an executable line of a program.

  1. In the editor area, open the file where you want to add the breakpoint.
  2. Directly to the left of the line where you want to add the breakpoint, open the marker bar (vertical ruler) pop-up menu and select Toggle Breakpoint.   You can also double-click on the marker bar next to the source code line.  A new breakpoint marker appears on the marker bar, directly to the left of the line where you added the breakpoint.

Also, the new breakpoint appears in the Breakpoints View list.

While the breakpoint is enabled, thread execution suspends before that line of code is executed. The debugger selects the thread that has suspended and displays the thread's stack frames. The line where the breakpoint was set is highlighted in the editor in the Debug Perspective.

Related concepts
Debugger
Java perspectives
Java editor

Related tasks
Applying hit counts
Catching Java exceptions
Removing breakpoints
Enabling and disabling breakpoints
Managing conditional breakpoints
Setting method breakpoints
Stepping through the execution of a program

Related reference
Breakpoints view


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire