Home » Community » U++ community news and announcements » theide: Windows Microsoft SDK 64-bit debugging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: theide: Windows Microsoft SDK 64-bit debugging [message #43704 is a reply to message #43699] |
Wed, 24 September 2014 08:14   |
 |
mirek
Messages: 14290 Registered: November 2005
|
Ultimate Member |
|
|
281264 wrote on Mon, 22 September 2014 22:26The Automated Building Method set up is not the problem for it detects MSC 12x64. The version I am using
is 7703 loaded by using the win32 installer from the web site. What do you think is going wrong?
Thx,
Javier
I am a little bit confused now... So I will try to cover all corners 
After installing U++ in windows, you (for now) get 32-bit theide.exe. This is able to compile 64-bit apps, but not to debug them.
You need 64-bit theide.exe. Sources of ide are part of uppsrc, so what you are supposed to do is to build 64-bit theide.exe using 32-bit theide.exe that you have. Thus at the start of ide, choose uppsrc assembly and ide package, then set the method to MSC 12x64 and Optimal mode, then build. This should produce ide.exe (you can use Build/Open output directory to locate it quickly), now rename to theide.exe and replace the original theide.exe (which is in c:/upp by default) with this new one (perhaps make backup first).
Mirek
|
|
|
|
|
|
|
|
|
|
| Re: theide: Windows Microsoft SDK 64-bit debugging [message #43738 is a reply to message #43737] |
Tue, 30 September 2014 15:35   |
 |
mirek
Messages: 14290 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: 1428 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: Mon Apr 27 18:40:35 GMT+2 2026
Total time taken to generate the page: 0.01343 seconds
|