debugging ofx file import

Jack ostroffjh at aya.yale.edu
Mon Jan 14 18:21:38 GMT 2019


On 1/14/19 1:08 PM, Thomas Baumgart wrote:
> Jack,
>
> On Sonntag, 13. Januar 2019 18:59:09 CET Jack wrote:
>
>> I'm trying to debug an issue with importing an ofx file, about how the
>> importer finds the right account, or doesn't find it.  I'm using
>> QT-Creator, and have set lots of breakpoints in multiple files which
>> seem to be involved, but in all cases, I can't seem to hit a breakpoint
>> until the ofx file has already been read and converted to a
>> MyMoneyStatement.  I've set several breakpoints in ofximporter.cpp -
>> both by line number and by function name, but I see some debug info on
>> the console, even though the breakpoints on those lines or the
>> enclosing function are not being tripped.  I've also managed to
>> interrupt the program with the file selection dialog open, but then
>> cannot manage to continue tracing - it refuses to recognize the file I
>> have selected, and says it can't import from the directory.
>>
>> Any suggestions to what I might be missing would be appreciated.
> Not really. I don't know why the debugger does not stop for you. It does for me here. Are you sure you use plugins that have been compiled with debug symbols and support? Not that you use some older ones.
Sort of but not quite.  For some reason, it was loading the plugins 
installed in the system with the distro package, not using the ones it 
had just compiled for the debug.  I kicked off a new (debug, not release 
with debug info) build, and just have not yet gotten to try it yet.  So 
- the plugin it was actually running did not have the debug info 
included.  I only discovered that when I first did "info break" in the 
debug session, and saw all my breakpoints were still PENDING.  I then 
had gdb show me the loaded libraries, and saw it was not the ones I 
expected.


More information about the KMyMoney-devel mailing list