|
Re: Debugging Techniques
Yes, it should appear in your NetBeans console if you loaded the code from there. If the code was loaded from another computer or from another machine, your NetBeans doesn't know about it. You can launch the "net console" on the machine with the Driver Station to force the System.out results to go there. (I just learned this yesterday! We'd always used NetBeans last year.)
Alternative forms of debugging are to send small output to the DashBoard (or better yet this year's SmartDashboard.) System.out is usually simpler though.
Remember to take out the System.outs when you are done as output slows down the code. (I/O takes longer than CPU.)
__________________
Team 694 mentor 2010-present, FIRST Volunteer and Co-organizer of FIRST World Maker Faire Tent
2012 NYC Woodie Flowers Finalist
2015 NYC Volunteer of the Year
|