Skip to content

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

@RaymondQiu

Description

@RaymondQiu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions