Problem debugging code with WindRiver

When I click ‘debug’ (after setting all the settings per the manual), it launches correctly and stops on the first statement. However, if I step a few times, or set a breakpoint and have it run until then, I get the following error: “<insert some fancy text with hex digits that I don’t want to type> The debugger is already attached to debug this exception.”

I can’t seem to figure out what’s wrong…any ideas?

To get the actual debug statements you want to open up the target tools. Tn the bottom left corner there should be a box that says remote systems. in that box you should see the system that is your cRio. Right click on that go to target tools->console and that will give you debug statements.

Thanks, Nick. I pulled open the console and saw that the default program was still running–apparently you have to undeploy it, although the manual doesn’t say so…

If you download the code rather than just debugging it you will still get debug statements and the code will stay on the robot. When you download code you don’t need to undeploy the old code but if you debug code you have to undeploy first.