<span>Hi all,</span><div><br></div><div><span>Developing with jextract is a bit difficult:</span></div><div><span>- there is not too much debug logging, the "-Dlibclang.debug=true" enables certain logging but mostly for clang and not jextract itself. To find out what jextract is doing and trace it, is very difficult. It could be remidiated with running debug under IDE but it does not work well if you generate bindings for big "C" projects. Using <span>"-Djextract.debug=true"</span> as of today seems only prints more information during the exceptions but does not show what steps were taken before it<br></span></div><div><span>- Sometime you receive "Failed to parse /tmp/jextract$1721579888733730008.h:" message, when you try to see contents of /tmp/jextract$1721579888733730008.h to understand why it is failed the file is already deleted.</span></div><div><span>- no logging on what properties we pass to clang</span></div><div><br></div><div><span>Please let me know if I all this make sense or I am doing something wrong.</span></div><div><br></div><div><span>As part of my experiments on c++ side I integrated JUL to address these problems:</span></div><div><br></div><div><span><a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/enatai/jextractcpp/commit/531f1d6183a53b0a1da0c18d7411f15bed7a23e3">https://github.com/enatai/jextractcpp/commit/531f1d6183a53b0a1da0c18d7411f15bed7a23e3</a></span></div><div><br></div><div><span>If this seems useful for jextract I can send MR for it.</span></div><div><br></div><div><span>Regards,</span></div><span></span>