Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when toggling a breakpoint, get .js.chromium' does not exist". was: Question about the Chrome dev tool in Nodeclipse #173

Open
RaymondQiu opened this issue Oct 20, 2014 · 9 comments

Comments

@RaymondQiu
Copy link

Hey guys, I have a question about the Chrome dev tool in Nodeclipse. I saw a change that make the org.chromium.debug.ui.editors.JsEditor to extend the ComilationUnitEditor (JSDT JS editor). In my nodeclipse, I also installed JSDT plug-ins which included the org.eclipse.wst.jsdt.debug.ui plug-in.

When I tried to toggle a breakpoint in a virtual js file created by the chrome tools, I got an error saying "Resource '/ /C__DemoWorkspaces_Demo31_FirstApp_node_modules_express_lib_express.js.chromium' does not exist".

I investigated a little bit. The error was caused by org.eclipse.wst.jsdt.debug.internal.ui.breakpoints.ToggleBreakpointAdapter was used to toggled breakpoint instead of org.chromium.debug.core.model.LineBreakpointAdapter$ForVirtualProject and org.eclipse.wst.jsdt.debug.internal.ui.breakpoints.ToggleBreakpointAdapter could not recognized the virtual file. So that meant I can not have both nodeclipse and full JSDT together, right? Thanks.

@paulvi
Copy link
Member

paulvi commented Oct 21, 2014

The breakpoint sync-ing was contributed by @tomotaro1065 , but he is silent for about a year,
I cannot comment more then it is seen from the code.

But Nodeclipse is great together with full JSDT, so if at some point you see errors, that is bug.

Bugs should be raised with enough info about environment and how to reproduce .

Code changes are welcomed.

@paulvi paulvi changed the title Question about the Chrome dev tool in Nodeclipse when toggling a breakpoint, get .js.chromium' does not exist". was Question about the Chrome dev tool in Nodeclipse Oct 21, 2014
@paulvi paulvi changed the title when toggling a breakpoint, get .js.chromium' does not exist". was Question about the Chrome dev tool in Nodeclipse when toggling a breakpoint, get .js.chromium' does not exist". was: Question about the Chrome dev tool in Nodeclipse Oct 21, 2014
@ghost
Copy link

ghost commented Oct 21, 2014

JSDT is not that great in my opinion as it's still hooked into ES3 when ES6 is now out there. Unfortunetely it's not optional — you can't remove ES3 JSDT as a plain package from your Eclipse installation. It's deeply bounded within Nodeclipse as far as I understand it therefore I don't see how it could provide a different path for any IDE task - debugging included. A typical problem is erroneous syntax checking like this one below:

screen shot 2014-10-21 at 09 19 21

This is wrong even for ES3: if 'default' was a key word even as data key within a json object then it should be colorized as such instead of raising a buggeous syntax error that will pollute my MEAN projects for ever...

@paulvi
Copy link
Member

paulvi commented Oct 21, 2014

@nodeleaf Hi Patrick, this is not related to ES5 or ES6 support. Please create new issue if you want to collaborate on that.

@ghost
Copy link

ghost commented Oct 21, 2014

@paulvi My point was: I don't see how JSDT could be used instead of Nodeclipse's - when you are using Nodeclipse IDE. If it was installed as a 'stand alone' plugin then this is not Nodeclipse but JSDT issue. Now about ES3 in JSDT: this is old story I re-instantiated above to expose one serious limit of JSDT among many others. As far as I understand it, ES5 support in JSDT 3.6 was deferred therefore I am afraid there is not much to collaborate about this topic — beside getting rid of JSDT in Nodeclipse but this is hardly an option don't you think?

@paulvi
Copy link
Member

paulvi commented Jan 11, 2018

very old discussion.

maybe should be close as is (especially if quiet)

@dPhantum
Copy link

dPhantum commented Apr 9, 2018

This is still an issue in Eclipse, I am using the Eclipse PDT and it is never ending popping up.

@dPhantum
Copy link

dPhantum commented Apr 9, 2018

So it looks like the fix is to remove the NodeEclipse plugin. If I don't hear back I suppose there is no resolution.

@paulvi
Copy link
Member

paulvi commented Apr 10, 2018

"never ending popping up" is new issue.

@dPhantum Can you put screenshot and some entries in Error Log

image

as new issue

@dPhantum
Copy link

dPhantum commented Apr 10, 2018

New issue created, see #224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants