The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Language::Befunge::Debugger::Breakpoints - a window listing breakpoints

SYNOPSYS

    my $id = Language::Befunge::Debugger::Breakpoints->spawn(%opts);
    $kernel->post( $id, 'visibility_toggle' );

DESCRIPTION

LBD::Breakpoints implements a POE session, creating a Tk window listing the breakpoints set in a debugger session. The window can be hidden at will.

CLASS METHODS

my $id = Language::Befunge::Debugger::Breakpoints->spawn( %opts );

Create a window listing breakpoints, and return the associated POE session ID. One can pass the following options:

parent => $mw

A Tk window that will be the parent of the toplevel window created. This parameter is mandatory.

breakpoint => $brkpt

An optional breakpoint to be added during session creation.

PUBLIC EVENTS

The newly created POE session accepts the following events:

breakpoint_add( $brkpt )

Add a breakpoint in the list of breakpoints.

visibility_toggle()

Request the window to be hidden or restaured, depending on its previous state. Note that closing the window is actually interpreted as hiding the window.

SEE ALSO

Language::Befunge::Debugger.

AUTHOR

Jerome Quelin, <jquelin at cpan.org>

COPYRIGHT & LICENSE

Copyright (c) 2007 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.