Avail Debugger
AvailDebugger presents a user interface for debugging Avail fibers. It's associated with a AvailWorkbench. It can be used to explore and experiment with a running Avail program.
The layout is as follows:
┌──────────────────────┬─────────────────────────────────────┐
│ │ │
│ Fibers │ Stack │
│ │ │
├──────┬──────┬─────┬──┴──────┬────────┬─────────┬───────────┤
│ Into │ Over │ Out │ To Line │ Resume │ Restart │ ▢ Capture │
├──────┴──────┴─────┴───────┬─┴────────┴─────────┴───────────┤
│ │ │
│ Code │ Source │
│ │ │
├────────────────┬──────────┴────────────────────────────────┤
│ │ │
│ Variables │ Variable Value │
│ │ │
└────────────────┴───────────────────────────────────────────┘To trigger the debugger:
Run the workbench
Build
AvailuatorRun "Command"
Run [Breakpoint; Print: “(1 :: integer) + 2”;].
Author
Mark van Gulik
Richard Arriaga
Types
Renders entries in the list of fibers.
Renders entries in the list of frames (A_Continuations) of a fiber.
Helper for capturing values and labels for the variables list view.
Renders variables in the variables list view.
Properties
The AvailDebuggerModel through which the fibers are controlled.
The AvailWorkbench associated with this debugger.
Functions
Change the font to the provided font name and size.
For every existing fiber that isn't already captured by another debugger, capture that fiber with this debugger. Those fibers are not permitted to run unless this debugger says they may. Any fibers launched after this point (say, to compute a print representation or evaluate an expression) will not be captured by this debugger.
Either places the given component inside a JScrollPane or answers the JScrollPane that it's already inside.