Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337641 - JavaScript breakpoints can not be set in HTML files
Summary: JavaScript breakpoints can not be set in HTML files
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.4.1   Edit
Assignee: Project Inbox CLA
QA Contact: Michael Rennie CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 10:39 EST by Philippe Marschall CLA
Modified: 2012-04-27 11:15 EDT (History)
3 users (show)

See Also:


Attachments
HTML file with <script> (173 bytes, text/plain)
2011-02-19 10:40 EST, Philippe Marschall CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Marschall CLA 2011-02-19 10:39:30 EST
It's only possible to set JavaScript breakpoints in .js files. It's not possible to set JavaScript breakpoints in the <script> section in a HTML file.
Comment 1 Philippe Marschall CLA 2011-02-19 10:40:42 EST
Created attachment 189350 [details]
HTML file with <script>

a HTML file with containing a <script> section where no breakpoints can be set
Comment 2 Michael Rennie CLA 2011-02-21 21:23:03 EST
This is not currently supported, we only provide a toggle adapter for .js files.

Changing to be an enhancement request.
Comment 3 Michael Rennie CLA 2011-11-29 10:14:22 EST
With the fix to bug 361315, we now have a toggle adapter for the HTML editor. The default script path resolution still needs to be updated to handle the new path cases
Comment 4 Michael Rennie CLA 2012-04-27 11:15:05 EDT
Marking this bug as fixed. There was a last round of updates to the base script look up mechanism with the fix to bug 363399. Any additional problems with script resolution can be opened in their own bugs.