|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Bug: String and others composite types are evaluated as "<void>" in debugger
|
|
|
|
Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37529 is a reply to message #37528] |
Mon, 15 October 2012 00:17   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
Your first post mentioned MSC9 so that is what I used on Win7 64bit.
With MSC10 it was OK.
With MSC9x64 Debug
Error creating process
C:\upp\out\MyApps\MSC9x64.Debug.Debug_Full.Sse2\dbug.exe
Windows error: The request is not supported.
With MSC9x64 Size it compiles OK.
On a WinXP 32bit MSC9 is OK.
With MSC8 get this error:
----- Core ( SSE2 MSC8 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (1 / 3)
BLITZ: Cpu.cpp Mt.cpp sheap.cpp String.cpp WString.cpp StrUtil.cpp Bom.cpp Path.cpp NetNode.cpp App.cpp Strea
m.cpp BlockStream.cpp Log.cpp Debug.cpp Ini.cpp Util.cpp mathutil.cpp Random.cpp LocalProcess.cpp Vcont.c
pp Hash.cpp Callback.cpp TimeDate.cpp Value.cpp ValueUtil.cpp Format.cpp Convert.cpp Color.cpp Gtypes.cpp
t.cpp Lang.cpp LangInfo.cpp parser.cpp XML.cpp Xmlize.cpp JSON.cpp Uuid.cpp Ptr.cpp z.cpp Topic.cpp CoWo
rk.cpp MD5.cpp SHA1.cpp InetUtil.cpp Socket.cpp Http.cpp Dli.cpp Win32Util.cpp
There were errors. (0:00.12)
[Updated on: Mon, 15 October 2012 00:53] Report message to a moderator
|
|
|
Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37530 is a reply to message #37529] |
Mon, 15 October 2012 02:55   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I don't know what you are trying to do with the struct T1{
but if you just want a character out of the String you could try:
add this
using namespace std;
String T = "TTT";
string t0 (T, 0, 1);
String T2 = t0;
Cout() << "t = " << T2 << "\n";
U++ may have something to do this but I don't know what that would be without the "using namespace std;"
Note that String T2 = t0; is necessary to change the string to String.
[Updated on: Mon, 15 October 2012 02:56] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Mon May 12 08:21:39 CEST 2025
Total time taken to generate the page: 0.03070 seconds
|
|
|