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 227406 - It is not possible to place or remove debug breakpoints in HTML5 JavaScript files with a search box open
Summary: It is not possible to place or remove debug breakpoints in HTML5 JavaScript f...
Status: RESOLVED DUPLICATE of bug 216601
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2013-03-13 10:40 UTC by Tlowry_ie
Modified: 2013-03-19 10:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (70.86 KB, text/plain)
2013-03-13 10:40 UTC, Tlowry_ie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tlowry_ie 2013-03-13 10:40:51 UTC
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_39
Runtime = Java HotSpot(TM) Client VM 20.14-b01

This is a minor problem which only occurs with the find (ctrl-f) window to search in a javascript file.
There may be a good reason for this, please close this bug if invalid.

Steps to reproduce:

1. Create a new HTML5 application with or without using a template.
2. Create a .js file which will be executed on deploy like this:

window.onload = function(){
    console.log("Hello");
};

3. hold ctrl and press the f key to open a find window

4. notice you cannot place debug breakpoints by clicking on line numbers in the left line numbers.
    It's also not possible to remove existing debug breakpoints until the search box is closed.
Comment 1 Tlowry_ie 2013-03-13 10:40:57 UTC
Created attachment 132553 [details]
IDE log
Comment 2 Tlowry_ie 2013-03-13 11:21:07 UTC
Sorry just wanted to clarify this issue occurs due to the search box taking focus from the code window. On clicking back into the code editing pane the focus shifts back to the code window and breakpoints can be added or removed again. Clicking the line numbers on the left instead of actual code will not return focus to the code window. This also seems to happen for Java Projects too, maybe others but that's all I've tested. I'm not sure if this is really a bug or not but it doesn't happen on NB 7.2.1 where clicking the line numbers will return focus to the code window from the search box.
Comment 3 Marian Mirilovic 2013-03-19 10:47:32 UTC
This is known issue, that will be addressed in NetBeans 7.3 Patch 1

*** This bug has been marked as a duplicate of bug 216601 ***