Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problem debugging code with WindRiver (http://www.chiefdelphi.com/forums/showthread.php?t=71345)

LinuxMercedes 05-01-2009 23:31

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?

nickmagus 06-01-2009 09:34

Re: Problem debugging code with WindRiver
 
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.

LinuxMercedes 07-01-2009 09:35

Re: Problem debugging code with WindRiver
 
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...

nickmagus 07-01-2009 11:10

Re: Problem debugging code with WindRiver
 
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.


All times are GMT -5. The time now is 17:28.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi