[TDK-BETA] Error when Using TclDev Kit 4.0 debugger with Tclblend.
by patrickfinnegan other posts by this author
Feb 22 2007 11:50PM messages near this date
view in the new Beta List Site
[TDK-BETA] ActiveState Tcl Dev Kit 4.0 references wanted
|
[TDK-BETA] Questions about TclApp
Using TclDev kit 4.0 debugger with TclBlend 1.4 as interpreter on Windows
XP.
Error occurs when variable is used as command. This problem does not occur
on Komodo 4.0 or RamDebugger.
set ConnectionI [ java::call DriverManager getConnection $url ]
putsLog "transaction isolation level is [ $ConnectionI
getTransactionIsolation ]"
$ConnectionI resolves to "java0x2"
Error msg.
invalid command name "java0x2"
while executing
"$ConnectionI getTransactionIsolation"
The JACL syntax is valid and runs correctly from the command line. Is this
valid debugger behavior?
NB: The error only occurs when stepping through the code using PF6. Run
to end with PF5 is fine. The same problem occurs with Dev Kit 3.2.
TEST
****
Put the following code snippet in a script and step through it.
package require java
set jstring [java::new String "Hello World"]
# Convert the Java string to a Tcl string
set tstring [$jstring toString]
invalid command name "java0x2"
while executing
"$jstring toString"
You can grab TclBlend from here: www.patrickfinnegan.com/
Regards.
Patrick Finnegan.
********************
HSBC WEBSPHERE TEAM
SHEFFIELD
Work: + 44 (0) 114 282 7845
Mobile: + 44 (0) 07809 568852
************************************************************
HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority
************************************************************
-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!
This E-mail is confidential.
It may also be legally privileged. If you are not the addressee you
may not copy, forward, disclose or use any part of it. If you have
received this message in error, please delete it and all copies
from your system and notify the sender immediately by return
E-mail.
Internet communications cannot be guaranteed to be timely secure,
error or virus-free. The sender does not accept liability for any
errors or omissions.
_______________________________________________
Tdk-beta mailing list
Tdk-beta@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk-beta
|