Page 1 of 1

Debugging Scripts and Writing to Output

Posted: Thu Dec 18, 2014 11:34 am
by standeven
Hello,

I'm new to iX Developer, and am wondering if there are any methods to help with debugging. For example, are there ways you can write to the output, or step through the code?

I've tried the following:

Console.WriteLine("test");
System.Diagnostics.Debug.WriteLine ("test");

thinking that this would write to the output window, but it did not.

Thanks

Re: Debugging Scripts and Writing to Output

Posted: Fri Jan 24, 2020 1:10 pm
by Russ C.
The best way is to use Visual Studio (or another compatible IDE) and set it as the debugger in the File -> Options -> Script Debugger Options.
debugging-options.png
debugging-options.png (13.91 KiB) Viewed 4458 times
Then when you click the Debug button in iX -> Project -> Debug it will launch your project in that debugger to run and step through
ix-project-tab.png
ix-project-tab.png (33.91 KiB) Viewed 4458 times