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
�� �� ���� �` �� ��
��