This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, When building a larger application, developers add "System.out.println(..)" to the code for debugging purposes. To some people, leaving this code in the final release, will have an impact to the performance of the final build application. Could you please add a menu item to the "source menu", enabling/disabling all "System.out.println" lines (or all output to the console commands) by placing them as comment (adding "//" in front of the line). Thanks
There's already a hint which detects system.{err,out} usage. Currently it offers a fix to remove the statement. It could be possibly enhanced to offer to * comment it out * wrap the code with if (Boolean.getBoolean()) -- debug propert * rely on Logger.isLoggable() to enable debugging.