Although the actual debugger does not require JSDT’s AST model.
Setting the breakpoints actually uses the Model to determine if the clicked line
has a statement.

@mickael how does setting breakpoints work on the Generic editor?

--
Gorkem

On 23 Mar 2017, at 15:04, Ilya Buziuk wrote:

Hi, Mickael
Great news about JavaScript LSP.
In terms of debugger, I believe it does not rely on JSDT internal model at all. Originally custom chromium editor[1] was used for debugging and we implemented some tricks so that JSDT editor would be used by default while
debugging process.

[1]
https://github.com/ChromeDevTools/cdt-java/blob/master/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/editors/JsEditor.java#L15

On Thu, Mar 23, 2017 at 6:12 PM, Mickael Istria <[email protected]> wrote:

Hi all,
As I'm working on TextMate and Language Server, I have the impression that using TestMate grammars and a JavaScript language server such as the one embedded in VSCode can lead to very good results in term of JS edition. This combo could do most of the work, and the internal JSDT model would still be useful for advanced operations not covered by the VSCode Language
Server for JS.
However, I'm wondering how much the Node/JS debuggers in Eclipse IDE do rely on the JSDT internal model for JS files. Do they integrate with the AST/DOM, or do they remain at text level (so they could easily be used
together with a totally different editor)?

Thanks in advance for your insights!
--
Mickael Istria
Eclipse developer for Red Hat Developers <http://developers.redhat.com>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>

_______________________________________________
wtp-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev



_______________________________________________
wtp-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to