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 240608

Summary: Line breakpoint position after source change not updated with JSTestDriver
Product: javascript Reporter: Vladimir Riha <vriha>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: kganfield
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: webkit log

Description Vladimir Riha 2014-01-17 13:46:48 UTC
Created attachment 144077 [details]
webkit log

Please have download and open this [1] project:
  - open Unit Tests/unit/jasmine.js
  - toggle line breakpoint in line 12
  - invoke Test action on project, select js-test-driver and run tests in Chrome with NetBeans integration
  - tests finish OK (some fail, some passed...)
  - place cursor on line 11 in jasmine.js and paste these 2 lines of code

    window.console.log(1);
    window.console.log(12);
  
  - breakpoint indication in editor is moved to line breakpoint to line 13, Breakpoints window confirms it
  - save file
  - again test project

=> code execution stops on line 12 (the one with windows.console.log(12)), but it should be 13
=> line 12 has green background
=> line 13 looks line unresolved breakpoint (grey background color, "scattered" red square icon)


[1] https://github.com/ladariha/sampleapp/archive/master.zip


Product Version: NetBeans IDE Dev (Build 201401170001)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b65
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)