You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "Chris2011 (via GitHub)" <gi...@apache.org> on 2024/09/25 19:33:04 UTC

[I] [JS] Debugger doesn't stop at breakpoint when set [netbeans]

Chris2011 opened a new issue, #7797:
URL: https://github.com/apache/netbeans/issues/7797

   ### Apache NetBeans version
   
   Apache NetBeans 23
   
   ### What happened
   
   Based on this discussion here: https://github.com/apache/netbeans/discussions/7785 when I debug a JS file where a breakpoint was set, the debugger starts but never hit the breakpoint and the breakpoint looks broken and unresolved.
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   * Have a little JS function with a console.log inside and call the function at the end of the file
   * Set a breakpoint inside this function where the console.log is located
   * Right click on the js file in the project tab (NodeJS needs to be enabled in project settings, otherwise there is another debugger starting)
   * Debugger started, runs the script and stopped but never hit the breakpoint, breakpoint seems broken/unresoved
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10, 64bit
   
   ### JDK
   
   17.0.10
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Node 18.16.1
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] [JS] Debugger doesn't stop at breakpoint when set [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #7797:
URL: https://github.com/apache/netbeans/issues/7797#issuecomment-2440111318

   Intermediate result: node 20 on windows behaves differently to node 20 on linux. From the debug output the node runtime does not even see the windows path, that I ask it to invoke. Maybe as a consequence no breakpoint is hit.
   
   I though there might be a trivial problem (converting file path to URI). While that is present, it can be trivially fixed under the "node runs locally" assumption.
   
   The missing "Debugger.scriptParsed" event for the target file is strange.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] [JS] Debugger doesn't stop at breakpoint when set [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #7797: [JS] Debugger doesn't stop at breakpoint when set
URL: https://github.com/apache/netbeans/issues/7797


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] [JS] Debugger doesn't stop at breakpoint when set [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #7797:
URL: https://github.com/apache/netbeans/issues/7797#issuecomment-2453152227

   @Chris2011 have a look at #7931. That should fix the issue of running the JS debugger on windows


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists