How to debug tcl code in Hypermath module
I am trying to debug TCL code through hypermath tool in Hypermesh.
But, i don't know why it doesn't work properly like other IDEs.
<?xml version="1.0" encoding="UTF-8"?>
I don't know how to debug it step by step, so that i can come to know the workflow. It doesn't even shows the values at breakpoints.
Any idea?
Answers
-
Wow, it's very difficult to debug by this way.
I usually debug by:
- run tcl directly
- read any error raised, it will show the error comes from which command, cause of error, and how the code should be
- position the command, then fix it as bgerror handle advised
never ever use other debugger.
0 -
Altair Forum User said:
Wow, it's very difficult to debug by this way.
I usually debug by:
- run tcl directly
- read any error raised, it will show the error comes from which command, cause of error, and how the code should be
- position the command, then fix it as bgerror handle advised
never ever use other debugger.
Hey Tinh,
Thanks for your reply. I was just wondering sometimes, i need to look into the workflow of the written code for enhancements. May be in that case i'd need some debugger to understand how is it working. Anyways, i'd be using the way you suggested because, this thing doesn't seem to work.
0 -
I also meet this problem in v14 and v2017, the step in, step over, etc buttons are not working for *.tcl scripts, but seems works for *.hm files.
I am wondering if this is something I didn't setup correctly or just a bug...?
0 -
I see that, too. Maybe it's a bug.
0