IDEA Ultimate 14.1 : Unable to debug XSLTs
I previously used that feature (long ago, on IDEA 12 or before I guess).
I jsut tried it and debugger fails to start with the following errror
Connecting to XSLT runner on localhost/127.0.0.1:59352
Warning: external object model net.sf.saxon.dom.DOMEnvelope has been loaded, but is not an instance of net.sf.saxon.om.ExternalObjectModel
Warning: external object model net.sf.saxon.dom.DOMObjectModel has been loaded, but is not an instance of net.sf.saxon.om.ExternalObjectModel
Exception in thread "main" java.lang.IllegalArgumentException: TRACE_LISTENER is of wrong class
at net.sf.saxon.Configuration.setConfigurationProperty(Configuration.java:3284)
at net.sf.saxon.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:351)
at org.intellij.plugins.xsltDebugger.rt.engine.local.saxon9.Saxon9Support.createTransformerFactory(Saxon9Support.java:69)
at org.intellij.plugins.xsltDebugger.rt.XSLTDebuggerMain.createTransformerFactory(XSLTDebuggerMain.java:44)
at org.intellij.plugins.xslt.run.rt.XSLTRunner.main(XSLTRunner.java:43)
I checked the non Jetbrains plugins, and couldn't find any saxon classes in them
请先登录再写评论。
Please see https://youtrack.jetbrains.com/issue/IDEA-108501 .
Indeed ... didnt think it would look for saxon in my own projetct's classapth.
I fixed it by changing the "use JDK/classpath from module" from advanced properties, and just point to IDEA SDK.
Thanks !