Go to Post And now I'll just take a moment and say that you've all gone completely insane. That is all. - galewind [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 14-02-2016, 00:55
1452-Leo 1452-Leo is offline
Registered User
FRC #1452 (Omnicats)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Los Angeles
Posts: 44
1452-Leo is an unknown quantity at this point
Diagnosing a crash

My C++ code has been working perfectly except for the fact that every minute or so, the code will crash (robot code goes red but comms stay up) and then get restarted automatically. This whole process only results in 3 or so seconds of downtime, but it is pretty annoying. Is there a way to see what error the program is returning? It doesn't show up in the driver station, but could I SSH in and see it? Just a line number or stack trace would speed up the debugging process significantly. Thanks!


Also, I have some un-commented spaghetti code at the moment, which is why I'm not posting it here. Secondly, I tested out a blank program and it doesn't crash, so the error is in my code.

Last edited by 1452-Leo : 14-02-2016 at 01:01.
 


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 09:39.

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