Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Debugging a node program

No other errors. 
After restarting few time Eclipse the problem went away. Now I can set breakpoints. 
Probably one of those issues the users get used to over time: just refresh the workspace few times; restart the IDE few time. The problem disappear. It always has been like this with Eclipse. 
Thanks for the help. 
Dobrin


-----Original Message-----
From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Gorkem Ercan
Sent: Tuesday, July 05, 2016 4:56 PM
To: General discussion of project-wide or architectural issues.
Subject: Re: [wtp-dev] Debugging a node program


Do you have any validation errors on the file that you are setting the breakpoint on?
—
Gorkem

On 5 Jul 2016, at 16:34, Alexiev, Dobrin wrote:

> Hello,
>
> I just tried using Eclipse Neon and wanted to debug a small node app.
> I tested the Windows version with the latest node runtime (v.4.4.7) 
> and I had no issues. Everything worked.
>
> When I tried the Linux version it did not find my current node 
> installation automatically. I had installed it in its default location 
> HOME/.nvm/v0.10.26/bin/node.
> Once I added the node path to my "JavaScript Runtimes" from the 
> preference page I was able to debug my project.
>
> But I was not able to add breakpoints. Every time I click in the 
> editor's selection margin I see an error message "A valid location 
> could not be found for the breakpoint".
> Is this a node version limitation, or I need to setup something to be 
> able to add breakpoints while debugging?
>
> Regards
> Dobrin
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@xxxxxxxxxxx
> 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
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/wtp-dev

Back to the top