This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 63775 - remove ability to set breakpoint into XML
Summary: remove ability to set breakpoint into XML
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 13:45 UTC by pzajac
Modified: 2005-11-08 14:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-09-07 13:45:30 UTC
[200509051800]
Steps to reproduce:
-----------------
1) create xml file from template 
2) Togle breakpoint from popup in created xml
Comment 1 Roman Ondruska 2005-09-07 15:24:47 UTC
AFAIK this is because of Ant debugger.
Comment 2 _ lcincura 2005-09-08 09:11:26 UTC
It is possible to add breakpoints on normal XML files. Should be restricted only
to build files.
Comment 3 pzajac 2005-09-08 09:20:58 UTC
There is registered mimetype for build scripts...
org.apache.tools.ant.module.loader.AntProjectDataObject
Comment 4 Martin Entlicher 2005-10-31 17:36:01 UTC
Fixed:

/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/breakpoints/AntBreakpointActionProvider.java,v
 <--  AntBreakpointActionProvider.java
new revision: 1.4; previous revision: 1.3

/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/resources/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.5; previous revision: 1.4
Comment 5 Martin Entlicher 2005-11-01 10:41:16 UTC
This has caused a regression, because GlyphGutterActions are read from the
EditorKit's MIMEType folder, which is "xml" for ANT files. Therefore
GlyphGutterActions must be in "xml" folder:

/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/resources/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.6; previous revision: 1.5
Comment 6 pzajac 2005-11-08 14:16:32 UTC
v