Does Eclipse allow find breakpoint on xml file?

ⅰ亾dé卋堺 提交于 2019-12-22 18:17:19

问题


I have a project with many configuration xml files. Is possible in Eclipse debugger put some kind of breakpoint so I can found if some node of xml file was read (and also need name of class) or not? Thanks.


回答1:


Well you have 2 options AFAICS:

  1. If the project uses JAXB or Castor or some other form of XML marshalling into Java objects, all you have to do is look into the Java classes that match your XML files, find the mathcing class/method for the xml tag you want to breakpoint/debug, and debug the corresponding Java code.

  2. Use http://www.oxygenxml.com/eclipse_plugin.html", Oxiegen XML Plugin for Eclipse.



来源:https://stackoverflow.com/questions/7388162/does-eclipse-allow-find-breakpoint-on-xml-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!