Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
jsdIFilter Interface Reference

Object representing a pattern of global object and/or url the debugger should ignore. More...

import "jsdIDebuggerService.idl";

Inheritance diagram for jsdIFilter:
Inheritance graph
[legend]
Collaboration diagram for jsdIFilter:
Collaboration graph
[legend]

List of all members.

Public Attributes

const unsigned long FLAG_RESERVED_MASK = 0xFF
 These two bytes of the flags attribute are reserved for interpretation by the jsdService implementation.
const unsigned long FLAG_ENABLED = 0x01
 Filters without this flag set are ignored.
const unsigned long FLAG_PASS = 0x02
 Filters with this flag set are "pass" filters, they allow matching hooks to continue.
attribute unsigned long flags
 FLAG_* values from above, OR'd together.
attribute nsISupports globalObject
 An nsISupports version of the global object to be filtered.
attribute string urlPattern
 String representing the url pattern to be filtered.
attribute unsigned long startLine
 Line number for the start of this filter.
attribute unsigned long endLine
 Line number for the end of this filter.

Detailed Description

Object representing a pattern of global object and/or url the debugger should ignore.

The debugger service itself will not modify properties of these objects.

Definition at line 395 of file jsdIDebuggerService.idl.


Member Data Documentation

Line number for the end of this filter.

Line numbers are one based. Assigning a 0 to this attribute will tell the debugger to ignore from |startLine| to the end of the file.

Definition at line 452 of file jsdIDebuggerService.idl.

Filters without this flag set are ignored.

Definition at line 406 of file jsdIDebuggerService.idl.

const unsigned long jsdIFilter::FLAG_PASS = 0x02

Filters with this flag set are "pass" filters, they allow matching hooks to continue.

Filters without this flag block matching hooks.

Definition at line 411 of file jsdIDebuggerService.idl.

These two bytes of the flags attribute are reserved for interpretation by the jsdService implementation.

You can do what you like with the remaining flags.

Definition at line 402 of file jsdIDebuggerService.idl.

FLAG_* values from above, OR'd together.

Definition at line 416 of file jsdIDebuggerService.idl.

An nsISupports version of the global object to be filtered.

A null glob matches all hooks. This attribute must be QI'able to the (non-scriptable) nsIScriptGlobalObject interface.

The jsdIService caches this value internally, to if it changes you must swap the filter with itself using jsdIService::swapFilters.

Definition at line 426 of file jsdIDebuggerService.idl.

Line number for the start of this filter.

Line numbers are one based. Assigning a 0 to this attribute will tell the debugger to ignore the entire file.

Definition at line 445 of file jsdIDebuggerService.idl.

String representing the url pattern to be filtered.

Supports limited glob matching, at the beginning and end of the pattern only. For example, "chrome://venkman*" filters all urls that start with chrome/venkman, "*.cgi" filters all cgi's, and "http://myserver/utils.js" filters only the utils.js file on "myserver". A null urlPattern matches all urls.

The jsdIService caches this value internally, to if it changes you must swap the filter with itself using jsdIService::swapFilters.

Definition at line 438 of file jsdIDebuggerService.idl.


The documentation for this interface was generated from the following file: