The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Debugging Help

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
LabTalk user Posted - 09/14/2010 : 11:43:13 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.1 SR3
Operating System: XP

I'm new to the world of programming with Origin and the way the compiler debugs is very different from the compiler I used while working with C++. If anyone could explain how to use it in more simpler terms that would be great. I've read the help file and I'm still confused on how sections work and how the breakpoints work as well. I put the sections in my code but it says "Select a section to execute" even though my cursor is on the section in the script. I also can never get the program to stop at any of the breakpoints. I am working with LabTalk scripts not .C files. I don't know if that changes anything, I don't think it would but just in case.

Thank you for your help.
1   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 09/30/2010 : 05:21:08 AM
Hi:

Here is help about how to run and debug LabTalk script.

Basically, you need to create an OGS file, and you should have sections if you want to debug it in code builder. Then, press F9 to place a break point, and in command window, type run.section(OGSFileName, SectionName) to run the script.

Here is an example, see the place I highlighted:



I am not sure what you did and why you cannot stop. Please provide more information then we can have a look.

Thanks
Larry
OriginLab Technical Services

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000