Go to Post I've ridden the real Segway many times and I think it is a truly remarkable machine and worth every cent (if you have enough cents to spend on it). - sanddrag [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-16-2009, 03:52 PM
Phazonmutant's Avatar
Phazonmutant Phazonmutant is offline
Winrar
AKA: Greg Mitchell
FRC #2556 (RadioActive Roaches)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Niceville, FL
Posts: 17
Phazonmutant is on a distinguished road
Exception in Timer.cpp

I've been programming using WPI library for a couple of weeks, but just today I started getting exceptions every time I debug the program.
As soon as the program starts, an exception is thrown at sem.take() in Timer.cpp. This occurs even when I've commented out the #include "Timer.h" in WPILib and all other headers that I could find.

Does anyone have an idea what the problem is or how to fix it?

Screencap of the error is attached.
Attached Thumbnails
Click image for larger version

Name:	Error screencap small.PNG
Views:	39
Size:	28.4 KB
ID:	7478  
__________________
Sometimes I think we should trash the current world, reboot, and restore from the last save.
How far back would that set us?
Around 30 AD. I hear Jesus saved.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-16-2009, 04:09 PM
Phazonmutant's Avatar
Phazonmutant Phazonmutant is offline
Winrar
AKA: Greg Mitchell
FRC #2556 (RadioActive Roaches)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Niceville, FL
Posts: 17
Phazonmutant is on a distinguished road
Re: Exception in Timer.cpp

I'm also encountering inexplicable errors in planting the breakpoints. I've not had these errors either. The source file MUST be downloaded because that's my robot code!

Screencap of the error is attached:
Attached Thumbnails
Click image for larger version

Name:	Error 2 screencap small.PNG
Views:	29
Size:	60.3 KB
ID:	7479  
__________________
Sometimes I think we should trash the current world, reboot, and restore from the last save.
How far back would that set us?
Around 30 AD. I hear Jesus saved.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-17-2009, 09:27 AM
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Exception in Timer.cpp

Quote:
Originally Posted by Phazonmutant View Post
I'm also encountering inexplicable errors in planting the breakpoints. I've not had these errors either. The source file MUST be downloaded because that's my robot code!

Screencap of the error is attached:
Actually, this error means that your code is *not* loaded on the target.
This is what happens when the debugger is asked to debug code that's not executing on the target.
The fact that it's showing your code simply means that's what it *thinks* is in the target.

Last edited by gvarndell : 02-17-2009 at 09:58 AM. Reason: grammar
Reply With Quote
Reply


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
Modifying .CPP files xtreampb C/C++ 9 02-26-2009 10:30 PM
Target Exception - Exception in Kernal Task Thxe C/C++ 3 02-10-2009 07:24 AM
NiVision.cpp nickmagus Programming 4 01-26-2009 08:55 AM
error - language-plug-in exception... RedOctober45 Programming 1 01-16-2008 03:54 PM
Joystick Exception? Blair Frank Control System 3 02-09-2007 10:41 PM


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

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