T O P I C R E V I E W |
ben_at_work |
Posted - 09/06/2006 : 09:02:38 AM Origin Version (Select Help-->About Origin): 70 Operating System: win2000
Hello again.
Is there a possibility to watch the routines or the C-code Origin executes in the background, when I push any button of the toolbars? In this way it would be easier for me to understand the changed C-language, which Origin uses.
Thank you. Ben |
1 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 09/06/2006 : 10:53:21 AM Hi Ben,
Toolbar buttons and menu commands execute either internal routines or LabTalk code. (Of course the LT code can call Origin C functions.) If you press the Ctrl+Shift keys while selecting a button or menu item its menuID will print to the script window if it's open. You can then duplicate the action of the button or menu item with the menu -e menuID command. If the button or menu item runs a section of an OGS file the file will also open at that section in Codebuilder.
Another method is to enter echo=7 in the script window which will cause all LabTalk commands to be printed to the script window as they occur. This will slow execution and clutter the script window but is often useful. Use echo=1 to report only errors and echo=0 to disable reporting.
Mike Buess Origin WebRing Member |
|
|