FaqRubyNBLogging67
| The information on this page pertains to NetBeans IDE 6.7 and later. If you are looking for information about Ruby Logging in 6.5, look here. |
|---|
How to turn on detailed logging to see what NetBeans does behind the scenes?
To turn on the detailed logging, go to the Menu | Tools | Options | Miscellaneous | Ruby and check the Ruby IDE Logging checkbox(es). On Mac OS X this preference is found here NetBeans | Preferences | Miscellaneous | Ruby.
To view the log, go to Menu | View | IDE Log File. Often the content of this log is very helpful for the developers when tracking down a bug in the IDE.
When you are attaching a log file with detailed logging to the issue, it's best to follow these steps:
- run the IDE with detailed logging turned on (see above)
- reproduce the scenario which causes the issue you are encountering
- after reproducing attach the log file to the issue. The log file, messages.log, is located in the <nb-user-dir>/var/log directory. (Note: you can see what your user is dir in in Help | About)
