cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

FaqRubyNBLogging61

How to turn on detailed logging to see what NetBeans does behind the scene?

To turn on the detailed logging you might either:

  • adding the text to your $NB_BIN/etc/netbeans.conf, property netbeans_default_options:
-J-Dorg.netbeans.modules.ruby.level=300 -J-Dorg.netbeans.api.ruby.platform.level=300
  • or running NetBeans directly with those parameters, like:
$NB_BIN/bin/netbeans -J-Dorg.netbeans.modules.ruby.level=300 -J-Dorg.netbeans.api.ruby.platform.level=300

To view the log, go to Menu | View | IDE Log File. Often the content of this log is very helpful for Ruby IDE developers when catching a bug in the IDE.

When you attaching log with detailed logging to the issue, it's best to follow this steps:

  1. run the IDE with turned logging on (above)
  2. reproduce the scenario which causes the issue you are encountering
  3. after reproducing attach the log to the issue. The log file is at <home>/<nb-dir>/var/log.