Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337641

Summary: JavaScript breakpoints can not be set in HTML files
Product: [WebTools] JSDT Reporter: Philippe Marschall <philippe.marschall>
Component: DebugAssignee: Project Inbox <jsdt.debug-inbox>
Status: RESOLVED FIXED QA Contact: Michael Rennie <Michael_Rennie>
Severity: enhancement    
Priority: P3 CC: grant_gayed, jzhang, thatnitind
Version: 3.3   
Target Milestone: 3.4.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
HTML file with <script> none

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.