Home » Community » U++ community news and announcements » theide: Windows Microsoft SDK 64-bit debugging
|
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43738 is a reply to message #43737] |
Tue, 30 September 2014 15:35 |
|
mirek
Messages: 14038 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Tue, 30 September 2014 10:15Lately the debugger is very good (relatively speaking to what it was), but in a few rare cases Strings still can't be debugged. This bug is at least 6 month old. The debugger shows "len = x", where x is the correct value, but "s = " either display gibberish, of "FreeFreeFreeFree...".
The problem is rare enough now that I can't find a rule or scenario to reproduce it in a test case.
Actually, I have met this too. I suspect that debugger is not the problem here, that the issue is in String - because in fact, that 'ptr' and 'len' are in String only because of debugging and are set, by String code in debug mode, to actual values.
Unfortunately, it is so sporadic that I was not able to reproduce. I believe it has something to do with length of string and method how it was created...
|
|
|
|
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43745 is a reply to message #43738] |
Wed, 01 October 2014 11:34 |
cbpporter
Messages: 1406 Registered: September 2007
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 30 September 2014 16:35cbpporter wrote on Tue, 30 September 2014 10:15Lately the debugger is very good (relatively speaking to what it was), but in a few rare cases Strings still can't be debugged. This bug is at least 6 month old. The debugger shows "len = x", where x is the correct value, but "s = " either display gibberish, of "FreeFreeFreeFree...".
The problem is rare enough now that I can't find a rule or scenario to reproduce it in a test case.
Actually, I have met this too. I suspect that debugger is not the problem here, that the issue is in String - because in fact, that 'ptr' and 'len' are in String only because of debugging and are set, by String code in debug mode, to actual values.
Unfortunately, it is so sporadic that I was not able to reproduce. I believe it has something to do with length of string and method how it was created...
Yeah, I'm aware of that . The "DSym" implementation. I did write a hacky debugger addition to debug strings without that mechanic only for TheIDE and posted it a few years ago on the forum.
As said, I too can't reliably reproduce it, but when I will, I'll surely check it out to see why it fails.
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 04:00:13 CEST 2024
Total time taken to generate the page: 0.03573 seconds
|