InspManager:
Filter:
ServerTools/Classes (extension) | Debugging | Language

InspManager
ExtensionExtension

a global manager for all Insp displaying them in a sidebar navigation and a main display area

Description

In debugging code you can call .insp quite often and each call will result in a snapshot being added to the global manager's sidebar. You can navigate through different snapshots using the sidebar.

When clicking on an InspButton it will bring the manager to the front it if isn't already.

See Insp

Class Methods

.global

This will get or create the global InspManager

Returns:

the global InspManager

.front

bring the global InspManager to the front if it isn't already

Instance Methods

.insps

All active Insp objects

Returns:

an array

.currentInsp

The currently viewed Insp

Returns:

an Insp

.window

The window that the InspManager is on

Returns:

a Window

.watch

called internally to add an Insp to the manager.

Arguments:

insp

an Insp

Returns:

this

.showInsp

shows this insp in the main viewing area, hiding any other

Arguments:

insp

Returns:

this

.remove

internal cleanup function for when the window shuts

Returns:

this

Examples

See Insp