After the fun I've had with the change from UTF8 to UTF16 default encoding I've got 99,99% covered. Recently I found the above error string in a Valentina log. But I have no clue how to find the offending string. I've asked the Valentina guys to give me some more information (table name, RecID, something). But they think that I should be easily find the root cause of this.
I've just checked my code and I'm using SetString 66 times in my code. And no, it's not easy to find the offending string.
Is it really so hard to give more information in the log? Even the offending string or the beginning of the offending string would help.
Are there any other ideas how I could debug this? My app is usually doing GBs of data.