View Single Post
  #8   Spotlight this post!  
Unread 03-03-2011, 16:35
Dave Scheck's Avatar
Dave Scheck Dave Scheck is online now
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
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.
Reply With Quote