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 233496

Summary: Debugging connection should be reestablished after Run if closed previously
Product: web Reporter: Petr Jiricka <pjiricka>
Component: HTML ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED FIXED    
Severity: normal CC: vriha
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Petr Jiricka 2013-07-26 14:22:51 UTC
1. Create a HTML5 application
2. Run it in Chrome with NetBeans integration
3. Open Chrome Developer Tools - this closes the NB debugger connection and closes the DOM Tree and CSS Styles windows
4. Run the application again

=> DOM Tree and CSS Styles windows are reopened, but the debugger connection is not reestablished. The result is the the DOM Tree is empty and I can't use it.

The workaround is to close the browser tab before rerunning.
Comment 1 Vladimir Riha 2013-07-26 14:28:32 UTC
It works if you close CDT prior to re-running from IDE. But if you re-run project while CDT is open, you get this problem and closing CDT now won't help you anymore.
Comment 2 David Konecny 2013-07-29 00:27:50 UTC
As long as CDT is opened NetBeans cannot do anything about it. I'm fixing it by showing error message box saying "Browser refused to debug this tab. Close Chrome Developer Tools (or any other browser debugger) and try again." I had to update Chrome plugin too - is now at 1.0.10 version.
Comment 3 Quality Engineering 2013-07-31 02:23:53 UTC
Integrated into 'main-silver', will be available in build *201307302300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0c3ef03d0fc1
User: David Konecny <dkonecny@netbeans.org>
Log: #233496 - Debugging connection should be reestablished after Run if closed previously