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.

Bug 250244 - console.log stopped working
Summary: console.log stopped working
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 18:58 UTC by elepil
Modified: 2015-03-27 08:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My message.log (32.73 KB, application/octet-stream)
2015-02-06 15:42 UTC, elepil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elepil 2015-02-05 18:58:47 UTC
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.
Comment 1 Martin Entlicher 2015-02-06 09:47:18 UTC
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.
Comment 2 elepil 2015-02-06 15:42:41 UTC
Created attachment 151866 [details]
My message.log

I have attached my message.log file as you requested. Thanks.
Comment 3 elepil 2015-02-06 15:47:13 UTC
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.
Comment 4 Martin Entlicher 2015-03-19 12:50:07 UTC
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.
Comment 5 Martin Entlicher 2015-03-27 08:45:06 UTC
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.