Subject: | ebug enters "MainLoop" prematurely when debugging Tk application |
Consider the mini Tk app in file 'foolabel':
use Tk;
$mw = MainWindow->new(-title => 'umpf');
$mw->Label(-text => 'this is a foo label')->pack;
MainLoop;
When I step through this from "perl -d foolabel" using 'n', the Tk
window is displayed when I step over "MainLoop", as expected.
Doing the same from "ebug foolabel", the Tk window is displayed after
the first 'n' already (i.e. while stepping over MainWindow->new). This
line should just create the object but not enter the messageloop or
display the window.
using perl, v5.10.1 (*) built for x86_64-linux