After switching to the latest version I’ve come across a (strange) access violation exception when using the ‘LogDebug’ method.
In one of my Delphi projects I’m using a TXSLPageProducer to transform xml using xslt. The xslt file is loaded at runtime and then logged using the following statements.
xsltDeclaratieFilter.LoadFromFile(ExpandFileName(FDeclaratieFiltersPad + aFilter));
SiMain.LogDebug('Declaratie filter: ’ + #13 + ‘%s’, [xsltDeclaratieFilter.XML.Text]);[/code]
This all went well before the switch to version 2, but now I get an access violation somewhere in the stringy depths of the delphi ‘System’ unit and the CPU window appears.
When I use the ‘LogString’ method the contents of the PageProducer are logged correctly, so I do have a workaround.
FYI, the exception text:
Project xxx.exe faulted with message: ‘access violation at 0x7c9377c9: write of address 0x00030fa0’. Process Stopped. Use Step or Run to continue.