Hi,
I'am trying to get tcldebugger running, but I getting application errors. Someone any idea what could be wrong? I'am using TDK 5.01 with activestate tcl.
couldn't compile regular expression pattern: quantifier operand invalid
couldn't compile regular expression pattern: quantifier operand invalid
while executing
"regexp $pattern $line -> lno msgtype msg"
(procedure "::checker::Snit_methodresult" line 53)
invoked from within
"::ui_engine::Snit_inst1::checker result"
("uplevel" body line 1)
invoked from within
"uplevel 1 [linsert $args 0 $self]"
invoked from within
"::snit::RT.CallInstance ::checker::Snit_inst1 result"
Thanks, Tim
Hello Tim,
this looks to be a bug in Tcl Dev Kit. Either in the tclchecker, or in the tcldebugger. The debugger invokes the checker on the currently shown file and this seems to be going wrong.
To investigate this I will have to see the script (*) you are trying to debug, so that I can try to replicate the problem here at ActiveState.
The best way to get the necessary information to us will be to enter a bug report into our tracker at
http://bugs.activestate.com
(*) Please try to make the script as small as possible.
Andreas (TDK Developer).
Hello Andreas,
The type of script is not inportant. Tcldebugger crashes on every script even the simple one's like:
package require Tk
ttk::button .b -text "Hello"
pack .b
I will investigate if the same problems occur if I run the checker....
There is no problem running the tclchecker standalone. Tcldebugger give's application errors no matter what kind of scripts. When I try to open a new project (and tcl script) en press (ok or apply) the problem occur's.
Thanks sofar,
Tim
I'm seeing this too, even when trying to debug a simple script like
I get this with 4.1, 5.0 AND 5.01, on MacOS X 10.5.6. My Mac is Intel based if it matters.