🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Debug TCL Script

User: "Bocaj22"
Altair Community Member
Updated by Bocaj22

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.

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Ben Buchanan"
    Altair Employee
    Updated by Ben Buchanan

    Yes, I believe you are correct. I usually just use puts statements for debugging.

    User: "Bocaj22"
    Altair Community Member
    OP
    Updated by Bocaj22

    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.

    User: "Ben Buchanan"
    Altair Employee
    Updated by Ben Buchanan

    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.