| Summary: | Inconsistent use of "line" and "lineNumber" in JSON | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Michael Rennie <Michael_Rennie> | ||||
| Component: | Debug | Assignee: | Michael Rennie <Michael_Rennie> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Simon Kaegi <simon_kaegi> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | thatnitind | ||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.3 M1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 175537 [details]
fix
Removes the use of the attribute 'lineNumber' in favour of 'line'
applied patch to HEAD |
code from HEAD I found that when referencing a line number in JSON we use either "line" or "linenumber" we should use one only - I vote "line" Examples: the break event - "lineNumber" usage: 143 \r\n { "type":"event", "seq":17, "event":"break", "body":{ "contextId":0, "debuggerStatement":false, "threadId":1, "step":"in", "lineNumber":2, "scriptId":1} } the setbreakpoint request - "line" usage: 107 \r\n { "command":"setbreakpoint", "seq":51, "type":"request", "arguments":{ "condition":null, "line":10, "scriptId":1 } }