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
 Forum for Origin C
 Code builder : no execution

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
Tryphon Posted - 12/10/2015 : 10:58:34 AM
Hello,

I use OriginPro 2015 (64-bit) Sr2 b9.2.272 under Windows 8.1 Pro 64-bit (recently purchased)

I try to learn Origin C as I cannot achieve enough speed under Labtalk. I used several examples from Origin help and I compiled them successfully including GetNBox_ex3. I was able to execute the functions in command line.

1) I tried many times to use the debug mode placing breakpoints according to this help : http://www.originlab.com/doc/Tutorials/OC-CodeBuilder

During execution, I never get any break.

2) To show a variable, I inserted a printf("%s",check); line in the GetNBox_ex3 code. After compiling and linking without error, I executed it and OriginPro crashed. I restarted OriginPro and Code Builder but now, whatever change I do in any program code, I get this message :
No changed files found. Choose Rebuild All if you want to recompile anyway.

I chose Rebuild All and tried to execute GetNBox_ex3 and I always get Command Error!

I am stuck and I do not know what to do.

Thank you.
3   L A T E S T    R E P L I E S    (Newest First)
Tryphon Posted - 12/15/2015 : 11:32:06 AM
Hi,

Thank you, now it works. I continue my work. I will come back here in case the same issue arise.
Castiel Posted - 12/11/2015 : 06:30:09 AM
quote:
Originally posted by Tryphon

Hello,

I use OriginPro 2015 (64-bit) Sr2 b9.2.272 under Windows 8.1 Pro 64-bit (recently purchased)

I try to learn Origin C as I cannot achieve enough speed under Labtalk. I used several examples from Origin help and I compiled them successfully including GetNBox_ex3. I was able to execute the functions in command line.

1) I tried many times to use the debug mode placing breakpoints according to this help : http://www.originlab.com/doc/Tutorials/OC-CodeBuilder

During execution, I never get any break.

2) To show a variable, I inserted a printf("%d",check); line in the GetNBox_ex3 code. After compiling and linking without error, I executed it and OriginPro crashed. I restarted OriginPro and Code Builder but now, whatever change I do in any program code, I get this message :
No changed files found. Choose Rebuild All if you want to recompile anyway.

I chose Rebuild All and tried to execute GetNBox_ex3 and I always get Command Error!

I am stuck and I do not know what to do.

Thank you.



1) Make sure you have enabled breakpoints. See menu Debug->Enable Breakpoints. Also, try to avoid multi-line expression. Won't stop at the exact line.
2) Do not try to print in that way. Should be out_tree(tr.check) or printf("%s", tr.check.nVal)
3) Ctrl+W to add the current file to workspace. It was probably not saved when it crashed.

�c��   �ȥ�  �f�u�c  �c��    �Τ�  �c/     ����
 �c�ʥ� ����  �� ��   ����' �̩���   /��  �թ��f
   ��             ��          ����  �` ��   ��
                              ��
jasonzhao Posted - 12/11/2015 : 05:15:21 AM
Hello,


You can paste your script here so we can run a test.

Best regards!
Jason
OriginLab Technical Service

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