Go to Post Dean's said it before, and it's been repeated many times, but it clearly hasn't sunk in yet, so I'll say really loudly. FIRST is not a science fair! - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-01-2012, 22:54
woodk woodk is offline
Registered User
FRC #2809
 
Join Date: Jan 2009
Location: Kingston, Ontario, Canada
Posts: 31
woodk has a spectacular aura aboutwoodk has a spectacular aura aboutwoodk has a spectacular aura about
Debugging problems in WindRiver

We experienced a lot of problems this year trying to debug our programs in WindRiver. We have finally solved the problem (see below).

The symptoms are:
When you debug your program, it hits the first breakpoint and you press the green “>” on the top of the debug panel, the debugger will read ʻdisconnectedʼ and you will not hit any more of your breakpoints.
The problem is:
The debugger is only attached to the first task (which terminates), not any of the spawned tasks. Last year there was a clear checkbox to select "attach debugger to spawned tasks". This year it is cleverly hidden, but we found it.
The solution: (see our whitepaper with screenshots at http://kbots.files.wordpress.com/201...whitepaper.pdf)
Access the debug configuration from the Remote Systems panel as follows:
•right click on the target (vxWorks6x_10…) in the "Remote Systems" panel
•select "Debug >" from the pop-up menu
•from the sub-menu select "Debug Configurations.."
•scroll down check off “Automatically attach spawned Kernel tasks”
Hope that saves others some time!!

- Kevin, "K-Botics" team 2809
Reply With Quote
 


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


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

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