Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Eclipse JSDT Debug: Setting breakpoints in Javascript editor does not work as expected

Hi,
  Thanks for the quick response.
I've sent a mail to the mailing list: wtp-dev@xxxxxxxxxxx as well.

Is this the right mailing list for the JSDT group.


Thanks,
Dhanya

On Wed, Feb 21, 2018 at 9:34 AM, Sarika Sinha <sarika.sinha@xxxxxxxxxx> wrote:

Hi,
Platform Debug provides the basic framework for breakpoints. C++, Java, _javascript_(based on Java) provide their own implementation.
For the case mentioned you need to reach out to JSDT group to seek help.

In Java editor, a breakpoint can move to another line if there is no valid statement for breakpoint on that particular line.
Thanks & Regards,
Sarika

Inactive hide details for Dhanya Pradeep ---02/21/2018 09:02:30 AM--- Hi, We have an application which provides scripting suppoDhanya Pradeep ---02/21/2018 09:02:30 AM--- Hi, We have an application which provides scripting support using the mozilla

From: Dhanya Pradeep <dhanyae@xxxxxxxxx>
To: platform-debug-dev@xxxxxxxxxxx
Date: 02/21/2018 09:02 AM
Subject: [platform-debug-dev] Eclipse JSDT Debug: Setting breakpoints in _javascript_ editor does not work as expected
Sent by: platform-debug-dev-bounces@eclipse.org





Hi,

We have an application which provides scripting support using the mozilla Rhino _javascript_ engine. We also have a framework that provides APIs to the script that helps the script to interact with the internals of our tool. Recently we provided a feature to enable debugging of the _javascript_s developed for the tool using eclipse and the debug support provided by the JSDT Debug framework.
We see two problems and would like to know whether someone can help us


1. Sometimes the breakpoints do not get set at the place that we intend to. For eg: If I want to set a breakpoint at line no 10, it gets set at 11, sometimes 15 etc.
2. Even if I set a breakpoint, they are not hit at the right places when we run the script.
3. It is also noted that with small scripts we do not face much problem, as the length of the script increases we see more and more problems.


We are using Eclipse 4.2 Juno version.
It is also to be noted that the since the script is embedded into our java application users are free to use both java and _javascript_ syntaxes.
I'm not sure whether the commands are causing any problem.


Any help would be highly appreciated.


Thanks,
Dhanya
_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_platform-2Ddebug-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=tjRIbqOr-g7xZRUXRR3_rfB-pMcLEmP47pYsccHdQQk&m=jhl3kt5GiYNHTJM37NzTcujI9Kokp1MAGhGk5JzQpiQ&s=TVJtNE09kMt8n-5oGpT-LIgv5HvtXBIArIInyhd2d3Q&e=



_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-debug-dev


Back to the top