|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
WindRiver Debug Mode question
Wondering if it is normal to need to reboot the CRIO each time after "Terminating" our robot code? During normal debugging, after we terminate our code and recompile, the new code will only run if we reboot the CRIO prior to starting a new debug session. V3.3 of Workbnech.
Thanks in advance. Chris. |
|
#2
|
||||
|
||||
|
Re: WindRiver Debug Mode question
It is "in theory" possible to simply reload your code and run it again. In practice you need to run cleanly (not screw up memory anywhere) and shut the code down cleanly (destroy all your WPI classes etc). Plus VxWorks (the cRIOs operating systems) does not clean up after your code the way a Windoze or Linux process would. VxWorks reaps the task control block and your stacks but nothing else.
In the "real world", my experience is that most people DO reboot the machine before starting a debugging session with new code. In this sort of environment, the code is written to run forever. Most developers do not take the time to make sure their code can be loaded, run, stopped then unloaded cleanly just to support the debugging environment. HTH |
|
#3
|
|||
|
|||
|
Re: WindRiver Debug Mode question
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|