Re: WinXP, AS 5.8.6, and Tk::Configure in perl -d
Eric Promislow <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Dean Arnold wrote: > While doing some debugging with Tk::DynaTabFrame > under the subject configuration, I'm getting some > nasty errors erupting out of Tk::Configure when it > calls croak($@) at line 47. I don't understand > why its calling croak anyway, as the options being > specified are perfectly valid, and everything > runs fine outside of hte debugger. > > When I comment out that croak() line > and replace with a warn($@) it runs fine (tho it does > print the warnings). Furthermore, > when I run wo/ the debugger, and no changes to Tk::Configure, > it runs fine as well. > > Is this a known problem, or have I messed up Tk::DTF's > Populate() somehow so it chokes in Tk::Configure ? > I vaguely recall there being some admonition wrt > the sequence of events in Populate() when inside the debugger... > > TIA, > Dean Arnold > Presicient Corp. > -++**==--++**==--++**==--++**==--++**==--++**==--++**== > This message was posted through the Stanford campus mailing list > server. If you wish to unsubscribe from this mailing list, send the > message body of "unsubscribe ptk" to [email protected] Which debugger? The Komodo debugger *used to* modify the value of $@ without localizing it when calling a sub, but that was fixed when Komodo 3.1 went out. It's possible that other debuggers are not localizing $@ in their DB::sub sub. -- Eric Promislow ([email protected]) -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]