Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » theide: Windows Microsoft SDK 64-bit debugging
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43737 is a reply to message #43716] Tue, 30 September 2014 10:15 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Lately 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.
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43738 is a reply to message #43737] Tue, 30 September 2014 15:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 30 September 2014 10:15
Lately 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 #43744 is a reply to message #43738] Wed, 01 October 2014 09:53 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello Mirek

I also have the same problem with Strings.

In addition many times TheIDE hangs when debugging (Windows 7). Its thread is running at 100% and memory use goes increasing, so it seems it is doing something.


Best regards
Iñaki
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43745 is a reply to message #43738] Wed, 01 October 2014 11:34 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
mirek wrote on Tue, 30 September 2014 16:35
cbpporter wrote on Tue, 30 September 2014 10:15
Lately 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.
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43753 is a reply to message #43744] Thu, 02 October 2014 18:16 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Quote:
In addition many times TheIDE hangs when debugging (Windows 7). Its thread is running at 100% and memory use goes increasing, so it seems it is doing something.


This happens even with no debugging at all. Just editing the code in TheIDE while the program is running, TheIDE hangs.


Best regards
Iñaki
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43758 is a reply to message #43753] Sat, 04 October 2014 10:26 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Thu, 02 October 2014 18:16
Quote:
In addition many times TheIDE hangs when debugging (Windows 7). Its thread is running at 100% and memory use goes increasing, so it seems it is doing something.


This happens even with no debugging at all. Just editing the code in TheIDE while the program is running, TheIDE hangs.


Well, there is lot of new development in theide now. Do you have any specifics about hanging? Anything special? Does it hang forever? How does look the file edited? Perhaps even screenshot would be useful...
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43777 is a reply to message #43758] Fri, 10 October 2014 08:29 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Quote:
In addition many times TheIDE hangs when debugging (Windows 7). Its thread is running at 100% and memory use goes increasing, so it seems it is doing something.


Well, after a week testing I have not found this problem again so, for me, it is solved.


Best regards
Iñaki
Re: theide: Windows Microsoft SDK 64-bit debugging [message #43876 is a reply to message #43777] Wed, 12 November 2014 15:23 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Fri, 10 October 2014 08:29
Quote:
In addition many times TheIDE hangs when debugging (Windows 7). Its thread is running at 100% and memory use goes increasing, so it seems it is doing something.


Well, after a week testing I have not found this problem again so, for me, it is solved.


I have just fixed a issue which could have caused freezes with active debugger, so hopefully this is now really fixed...
Previous Topic: Log compression
Next Topic: ide: Assisted #include now inserts missing package, Insert #include in editor menu
Goto Forum:
  


Current Time: Fri Mar 29 08:11:39 CET 2024

Total time taken to generate the page: 0.01543 seconds