You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Peter Malmgren (JIRA)" <ji...@apache.org> on 2018/04/11 11:14:00 UTC
[jira] [Created] (NETBEANS-642) javascript debugger blindsides by
being case-sensitive
Peter Malmgren created NETBEANS-642:
---------------------------------------
Summary: javascript debugger blindsides by being case-sensitive
Key: NETBEANS-642
URL: https://issues.apache.org/jira/browse/NETBEANS-642
Project: NetBeans
Issue Type: Bug
Components: editor - Hints & Annotations, javascript - Debugger
Affects Versions: 8.2
Environment: Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_31
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.31-b07
Reporter: Peter Malmgren
Problem:
Could not debug javascript code from referenced .js file.
The code executes fine but would ignore breakpoints.
The hint: "Unresolved breakpoint" during runtime almost .
STEPS:
* Create a new Html5/javascript project.
* In a new file named lowercase.js, insert:
function hello(){
console.log("test");
}
* insert into index.html:
<script src='lowerCase.js'></script>
(it is important for this bug that 'C' in lowerCase.js is uppercase)
* Put a breakpoint on it.
* insert into index.html:
<script>hello()</script>
* Put a breakpoint on it.
* Run project with a browser with netbeans connector.
The problem should become apparent: The second breakpoint is ignored.
ACTUAL:
Before executing the program:
* confirm that both breakpoints do not appear different to any other breakpoint.
While debugging:
* Confirm that there is no problem with the breakpoint in index.html.
* Confirm that the program ignores the breakpoint in lowercase.js.
* Confirm that the second breakpoint has "Unresolved breakpoint: Not resolved/active at current time." as context.
* Confirm that the program still executes lowercase.js by looking at the output of console.log("test"); in hello().
When the program counter/current line is at the breakpoint in index.html, you can step through lowercase.js.
You can still not place unbroken breakpoints in lowercase.js
EXPECTED:
one of the following:
* The debugger fails together with the browser and operating system i.e: not be case-sensitive in a Windows locale, be case-sensitive Linux locale.
* Notify the developer that there is a reference error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists