Menu

#31 procs starting w/ "-"

open
nobody
debugger (9)
5
2014-12-01
2002-07-20
No

I think I found a minor bug in TclPro Debugger.

The Procedure Window becomes blank if you define
a proc starting w/ a "-". eg:

proc -test1 {args} {
puts "Testing!"
}

We noticed this debugging one of our scripts that
uses mkWidgets
(http://mkextensions.sourceforge.net/).

Error is in nub.tcl DbgNub_GetProcs. I think it
should use the following 2 times in
the DbgNub_GetProcs:
namespace which -command $x

Instead of:
namespace which $x

This seems to also happen in 2.0 beta also.

Thanks,
Richard

Discussion


Log in to post a comment.