Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Debugging problems in WindRiver (http://www.chiefdelphi.com/forums/showthread.php?t=100933)

woodk 22-01-2012 22:54

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


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

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