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.
console.log was working fine for me until today. I just closed down all projects (because I felt too many open projects were cluttering my Projects pane) and opened a new one. All of a sudden, console.log won't work anymore. The JavaScript clearly works in Chrome, and the console.log statements worked fine there, but just not within Netbeans. This is not the first time this has happened to me. The first time was about 5 months or so ago, and I was able to resolve it by uninstalling Netbeans entirely, deleted its install directory, searched the entire registry for string references to 'netbean' and deleted all entries, and then reinstalling, and it worked fine. But no such luck this time. Despite going through all that, my fresh install of Netbeans 8.0.2 didn't help. I know I can always debug JavaScript from within Chrome, but it has been so convenient to be able to use console.log within Netbeans as it saves me time from having to flip back and forth and having to refresh Chrome after every slight code change.
Can you please attach messages.log file? It could contain some exceptions or other relevant info that can indicate where the problem is. http://wiki.netbeans.org/FaqLogMessagesFile When you need to "reset" the NetBeans state, it should be enough to delete (or rename) the NetBeans' user and cache directories. http://wiki.netbeans.org/FaqWhatIsUserdir NetBeans installation itself should be immutable.
Created attachment 151866 [details] My message.log I have attached my message.log file as you requested. Thanks.
FYI, I did try resetting my Netbeans state by renaming the directory. When I ran Netbeans, it created a new Netbeans directory, but console.log still doesn't work.
Do you see this text: "NetBeans Connector" is debugging this tab in your browser? The console is enabled in NetBeans together with other things, therefore as soon as the NetBeans plugin is active in the browser, the console should work. I was not able to reproduce a console-specific problem.
Resolving as works for me. Please check whether you've selected a browser with NetBeans connector and whether the NetBeans connector is active in the browser.