1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Explain how a breakpoint is set in javadoc.

This commit is contained in:
Alain Magloire 2002-09-20 17:12:06 +00:00
parent 9fa5b6b5ba
commit ab161541db

View file

@ -50,8 +50,26 @@ public interface ICDIBreakpointManager extends ICDISessionObject
/**
* Sets a breakpoint at the given location.
* The breakpoint is set acording to the choices:
* <pre>
* if location.getFile() != null then
* if location.getFunction() != null then
* breakpoint = file:function
* else
* breakpoint = file:line
* else if (location.getFuntion() != null) then
* breakpoint = function
* else if (location.getLineNumber() != 0 then
* breakpoint = line
* else
* breakpoint = address
* end
* </pre>
* @see ICDIBreakpoint.TEMPORARY
* @see ICDIBreakpoint.HARDWARE
* @see ICDIBreakpoint.REGULAR
*
* @param type - a combination of TEMPORARY and HARDWARE or 0
* @param type - a combination of TEMPORARY and HARDWARE or REGULAR
* @param location - the location
* @param condition - the condition or <code>null</code>
* @param threadId - the thread identifier if this is