NAME
Language::Befunge::Debugger::Breakpoints - a window listing breakpoints
SYNOPSYS
my $id = Language::Befunge::Debugger::Breakpoints->spawn(%opts);
$kernel->post( $id, 'toggle_visibility' );
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:
- add_breakpoint( $brkpt )
-
Add a breakpoint in the list of breakpoints.
- toggle_visibility()
-
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
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.