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 - Line breakpoint position after source change not updated with JSTestDriver
Summary: Line breakpoint position after source change not updated with JSTestDriver
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 13:46 UTC by Vladimir Riha
Modified: 2014-02-05 15:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
webkit log (42.81 KB, application/zip)
2014-01-17 13:46 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
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)