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 238977 - Handle two contents for a single JavaScript file.
Summary: Handle two contents for a single JavaScript file.
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: UI
Depends on: 239088
Blocks:
  Show dependency tree
 
Reported: 2013-11-29 15:54 UTC by Martin Entlicher
Modified: 2014-07-08 05:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2013-11-29 15:54:19 UTC
The JS scripts can be wrapped within a function, see issue #238839. In this case the original file content differs from the runtime content and we get two separate file tabs for them. This is a problem from usability point of view.

Also, breakpoints annotation need to be duplicated to the runtime content.
Comment 1 Martin Entlicher 2013-12-03 15:39:54 UTC
Required for Avatar.js.
Comment 2 Martin Entlicher 2014-07-08 05:43:53 UTC
The conclusion is to show the original user file. Not the wrapped version.