On Tue, Jul 27, 2021 at 10:21 PM Arrigo Marchiori <ard...@yahoo.it.invalid> wrote:
> But that property _was_ set as a bool by method > XMLFilter::impl_Export(), in file > main/chart2/source/model/filter/XMLFilter.cxx, at the beginning of > this explanation: > > 691: xInfoSet->setPropertyValue( sUsePrettyPrinting, uno::makeAny( > bUsePrettyPrinting ) ); > > Immediately after that runs, add a watchpoint to that expression, then resume. The debugger should be able to catch changes to that region of memory, and stop execution when it changes, at which point you can examine where the misbehaving code is. If it doesn't, then the problem is elsewhere, eg. the Any being written to and the Any being read are different objects. See https://sourceware.org/gdb/onlinedocs/gdb/Set-Watchpoints.html Good luck Damjan