|
Re: Advice on switching to text-based FRC programming...
I see many C++ teams doing debugging using only print statements. But if you can get the debugging protocols running, you can have some pretty nice tools.
The basics -- breakpoints and pause/resume -- are present in both. The C++ equivalent to a probe is a watchpoint. C++ doesn't have panels that you can open, but you can use watchpoints or print statements. If you get fancy, you can instrument the code to place some important values to SmartDashboard.
Fancier tools such as profiler are not as commonly used, and I believe you have it in the WindRiver tools that come with FRC. Even fancier tools such as tracing are again available in both, but I'm not sure if FRC WindRiver contains it.
Greg McKaskle
|