Log in

View Full Version : RIOlog not displaying errors


Omnicide_
06-02-2016, 14:42
We are having a problem with our RIOlog. Through std::cout, we are able to send messages to the RIOlog. However, when our code crashes, we do not get any error messages. As you can imagine, this makes debgging a nightmare.

Here's a sample crash

Opened file (just a cout we had for debugging)
(Crash occurred right here)
➔ Launching «'/home/lvuser/FRCUserProgram'»
[HAL] Starting task FRC_DriverStation...

Any ideas on how to fix this? And suggestions welcome

virtuald
06-02-2016, 15:18
Yes, see this thread.

http://www.chiefdelphi.com/forums/showthread.php?t=142581

RufflesRidge
06-02-2016, 18:31
Any ideas on how to fix this? And suggestions welcome

You should run your code in the debugger. Then when you crash you have a chance of getting a stacktrace. You won't get much out of the console even if the segfault line did show up (the segfault line will never print in rioLog)