RobotC Emulator Console

I am working on course content to teach my new teams how to program. Before delving into the Cortex I would like to teach some basics by using the PC-Based Emulator. Is there a way to get a console output that simply writes the text from their programming? There is a great deal of information in the Message Log but I can’t seem to find the window to display what I could call the console. (I code in c# and JavaScript where I would use Console.WriteLine or console.log).

task main()
{
	//For loop example
  clearDebugStream();
	int i;
	for(i=0; i < 10; i++)
	{
		writeDebugStreamLine("%d", i);
		wait1Msec(1000);
	}
}

I use the debugStream window, and it looks like that’s what you want to do as well. In order to open it, under the “Window” menu, set the menu level to “Expert” or “Super User”.

Then, select Robot->Debugger Windows->Debug Stream

Thanks, that was what I was looking for. Interesting that you can’t enable the Debugger Windows menu unless the debugger is running.

I am impressed with all of the properties you can watch - motors, sensors, timers. This is a great tool for teams.