Module Simantics/GraphicalDebugger

This module is undocumented. This is a list of its definitions.

addResource :: GraphDebugger -> Resource -> <Proc> ()

Adds a resource to the debugger as a new node, placed at random among the nodes that are already there.

newGraphDebugger :: <Proc> GraphDebugger

Opens an empty graph debugger window and returns a handle to it. Each call opens a separate window.

removeStatementFilter :: GraphDebugger -> <Proc> ()

Removes the statement filter, so that every statement is followed again.

setStatementFilter :: GraphDebugger -> (Statement -> <ReadGraph,Proc> Boolean) -> <Proc> ()

Sets the filter that decides which statements the debugger follows when it expands a node: an object is only drawn if the filter answers True for the statement leading to it. It replaces any filter set earlier.