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 » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Bug: String and others composite types are evaluated as "<void>" in debugger
Bug: String and others composite types are evaluated as "<void>" in debugger [message #37267] Fri, 14 September 2012 00:02 Go to next message
omari is currently offline  omari
Messages: 264
Registered: March 2010
Experienced Member
My conf: 5352, MSC9, WinXP

index.php?t=getfile&id=3870&private=0

omari.
  • Attachment: upp_dbg.png
    (Size: 54.77KB, Downloaded 493 times)


regards
omari.
Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37524 is a reply to message #37267] Sun, 14 October 2012 18:47 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 264
Registered: March 2010
Experienced Member
Hi all,

can anyone verify if the bug exists?

in theide, set a breakpoint, when the execution pause, try evaluate a variable of String type.

and let me know.

thanks

omari.


regards
omari.
Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37527 is a reply to message #37524] Sun, 14 October 2012 23:26 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
index.php?t=getfile&id=3890&private=0

It seems to work OK.
Win7 - 5424

  • Attachment: dbug-OK.png
    (Size: 79.56KB, Downloaded 452 times)

[Updated on: Mon, 15 October 2012 00:01]

Report message to a moderator

Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37528 is a reply to message #37527] Sun, 14 October 2012 23:52 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 264
Registered: March 2010
Experienced Member
thank you nlneilson,

I noticed the bug with version 5352, and I tried several versions, my current version is 5424, I have the same behavior: "<void>".

I'm running WinXp, the compiler is MSC9.

I'll try with another compiler (MinGW).

Thank you.


regards
omari.
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 Go to previous messageGo to next message
nlneilson is currently offline  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 Go to previous messageGo to next message
nlneilson is currently offline  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

Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37537 is a reply to message #37530] Mon, 15 October 2012 08:57 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 264
Registered: March 2010
Experienced Member
this code is a use case to demonstrate the bug,
I mean I have the problem with the following variable types:
String, struct, array, and also with std :: string.


regards
omari.

[Updated on: Mon, 15 October 2012 09:00]

Report message to a moderator

Re: Bug: String and others composite types are evaluated as "<void>" in debugger [message #37548 is a reply to message #37537] Tue, 16 October 2012 05:52 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I have been having problems lately when compiling with MSC8.

MSC9 and 10 seem to be OK.

I installed MSVC++ 12 but have not gotten the compiler linked up to Upp yet.
Previous Topic: [Bug] Menus in TheIDE not drawn properly
Next Topic: Issue with synchronized translation file (GNU/Linux - Kubuntu 12.10)
Goto Forum:
  


Current Time: Thu Mar 28 19:30:29 CET 2024

Total time taken to generate the page: 0.01177 seconds