Debug TCL Script
Hello,
As far as I know, it's not possible to create debug breaks in TCL code when running within Hypermesh. Is this true? I assumed it to be the case but never actually asked and confirmed. Tkcon, which is running within Hypermesh has debugging capabilities (idebug), but it doesn't appear to work. Also, Compose can debug TCL code, but I don't believe it can connect to Hypermesh. Anyone know differently?
Thanks.
Answers
-
Yes, I believe you are correct. I usually just use puts statements for debugging.
0 -
Ben Buchanan said:
Yes, I believe you are correct. I usually just use puts statements for debugging.
Noted, thanks. I have used the same, but it can become difficult for long scripts with many procs.
0 -
bocaj22 said:
Noted, thanks. I have used the same, but it can become difficult for long scripts with many procs.
In a case like that if I am getting an error hopefully it at least gives me someplace to start the search. Otherwise I just trying put some puts statements on the highest level to start narrowing down where the problem is and then drill down from there. Maybe this isn't a super efficient approach but it is effective.
0