|
Re: Debugging C++ code in Windriver
To answer the second part of your question about the console. In the left sidebar you should see the tree that shows what's running on your target (see page 7 of the document I referenced above). I'm writing this from memory so the exact menus might be slightly different. Right click on the entry for VxWorks... go to Target Tools -> Target Console. Any printf that you put in your code (don't forget to #include <stdio.h>) will show up in this console. This is extremely useful in debugging.
If you lose connection with your robot, you will need to reopen this console.
|