Home » Community » Newbie corner » U++ vs Qt
Re: U++ vs Qt [message #27144 is a reply to message #27136] |
Mon, 28 June 2010 00:48  |
|
281264 wrote on Sun, 27 June 2010 15:54 | By the way, I am finding problems with the debugger: it does not work properly.
|
Bit off-topic, but: You can use LOG and DUMP* macros. They support some cool tricks of U++ automatic formating, so it is very easy and quick to use. I do most of my debugging that way. Some examples: int i=4;
Point p(2,3);
String s="abcdefg";
Vector<int> v; v.Add(2); v.Add(14); v.Add(3);
LOG("i has value "<<i<<" s="<<s<<" and point p is "<<p);
DUMP(i);
DUMP(p);
DUMP(s);
DUMPC(v);
When you run the app in debug mode, the values are saved in log file (Alt+L). In release mode, they are ignored.
Honza
|
|
|
Goto Forum:
Current Time: Fri Jul 18 03:38:11 CEST 2025
Total time taken to generate the page: 0.04109 seconds
|