Go to Post The best moments of our lives fall in two categories: those that did happen and those that did not. - Jnadke [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2009, 23:31
LinuxMercedes LinuxMercedes is offline
Real men use Macs
FRC #1444 (Lightning Lancers)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: St. Louis, MO
Posts: 22
LinuxMercedes is an unknown quantity at this point
Question 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?
  #2   Spotlight this post!  
Unread 06-01-2009, 09:34
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
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.
  #3   Spotlight this post!  
Unread 07-01-2009, 09:35
LinuxMercedes LinuxMercedes is offline
Real men use Macs
FRC #1444 (Lightning Lancers)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: St. Louis, MO
Posts: 22
LinuxMercedes is an unknown quantity at this point
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...
__________________
  #4   Spotlight this post!  
Unread 07-01-2009, 11:10
nickmagus's Avatar
nickmagus nickmagus is offline
Registered User
AKA: Nick Clayton
FRC #0008 (Paly Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Palo Alto, Califorinia
Posts: 56
nickmagus is an unknown quantity at this point
Send a message via AIM to nickmagus
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Kevin's code Tottanka Programming 5 04-11-2007 13:32
PWM Problem with Default Code kbregler Programming 16 03-02-2007 15:14
Problem with Modified Code Brigander Programming 14 31-01-2007 13:25
problem with the default code MarkVH Programming 7 28-01-2005 00:04
Problem with FRC Default code AsimC Programming 2 11-01-2004 19:22


All times are GMT -5. The time now is 00:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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