Jump to content

Recommended Posts

I am trying to debug TCL code through hypermath tool in Hypermesh.

1.PNG.a7f6815f82b2f4c4c903b4aecfe2e063.PNG

But, i don't know why it doesn't work properly like other IDEs.

2.thumb.PNG.badb9a6fc343f33cb2a6dffadf9d58dc.PNG

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?

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
14 hours ago, tinh 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.

Share this post


Link to post
Share on other sites

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...?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...