contents   index   previous   next



seIsBreakpoint

 

syntax:

   boolean

SEContext.seIsBreakpoint(String filename,

                         int lineNumber); 

where:

filename the file interested in

 

lineNumber the line in that file

 

return:

A boolean, true if the line is a valid breakpoint.

 

description:

This function is provided for use by a debugger. It checks to see if it is possible for any function currently loaded to break at the given file and line. This check is intended to be called in response to a user request to set a breakpoint. Be warned that this call is very slow. The filename must match one of the currently loaded filenames (which can be found in the SE.FILENAMES object) or it cannot be a breakpoint and this function will return false. If you have a seFindFileFunc callback in your context (described in Chapter IV), the filenames that are used are the ones returned from this function, the translated filename, not the untranslated ones passed to the callback.

 

see:

None