With the last update (maybe two), if you update a control within a thread you will receive an error that you cannot manipulate a user interface element outside the application’s main thread. My question, what’s the easiest way to debug/retrieve a variable value within this thread without writing it to a window control? Is there a way to write to the debug/message window within the IDE?
System.DebugLog will write to the IDE’s messages pane. To update the GUI from a thread, trigger a timer from the thread and update the GUI from the Timer’s Action event.
Thanks Andrew. I figured there was a way, but just couldn’t locate it easily within the Language Reference. The thread itself will be in a service-type console application with no GUI; however, for debugging purposes I need to know what’s going on with the variable information. Thanks!