Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebug enters "MainLoop" prematurely when debugging Tk application [rt.cpan.org #50836] #26

Open
plicease opened this issue May 4, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@plicease
Copy link
Member

plicease commented May 4, 2020

Migrated from rt.cpan.org#50836 (status was 'new')

Requestors:

From info1@wolframhumann.de on 2009-10-26 13:53:34
:

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


@plicease plicease added the bug Something isn't working label May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant