[Qt-creator] Slow cdb

2013-06-04 Thread Peter Kümmel
Wasn't there a wiki entry about dead slow cdb or cdb in general?

I think there was something related to the warning
 WARNING: Unable to verify checksum for ...
but I couldn't find it any more.

What was the reason for this warning, is this warning related to the slowdown?
How could I fix the bad cdb speed on my installation side?

(I use cdb to debug gdb support atm)

Peter
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Slow cdb

2013-06-04 Thread André Hartmann
Do you try to access global variables?

I sometimes have a dead slow cdb too, if I try to access member / global 
variables that are out of scope.

In this case, there are warnings in the debugger log that it can't 
access the variable.

Once you run into this problem, the only solution is to re-start Creator 
(it seems the watched variable can't be removed)

Andre

Am 04.06.2013 09:40, schrieb Peter Kümmel:
 Wasn't there a wiki entry about dead slow cdb or cdb in general?

 I think there was something related to the warning
   WARNING: Unable to verify checksum for ...
 but I couldn't find it any more.

 What was the reason for this warning, is this warning related to the slowdown?
 How could I fix the bad cdb speed on my installation side?

 (I use cdb to debug gdb support atm)

 Peter
 ___
 Qt-creator mailing list
 Qt-creator@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Slow cdb

2013-06-04 Thread David Schulz
Hi Peter,

the warning could result from using the Microsoft Symbol Server.
The problem is that the cdb tries to get all your symbols from this server.
What results in some overhead for all the symbols which are not 
available. For Example the whole Qt and QtCreator libraries.

If you have a Creator checkout from the 2.8 branch you schould be able 
to add a symbol cache to the symbol paths for the cdb in the options 
under Debugger - CDBPaths - Symbol Paths - Insert... - Symbol Cache...
It is important that you insert the cache before the symbol server 
otherwise the symbols wouldn't get cached and read before the server is 
contacted.

If you are using an older QtCreator add the symbolcache manually. The 
setting can be found under Options - Debugger - CDB - Paths - Symbol 
Paths - Edit... in versions  2.8.

For Example:
cache*C:\dev\symbolcache

srv*http://msdl.microsoft.com/download/symbols


You should also remove the folder from the path with srv*. Otherwise The 
symbols from the server would be cached in two places.

BR David

Am 6/4/2013 9:40 AM, schrieb Peter Kümmel:
 Wasn't there a wiki entry about dead slow cdb or cdb in general?

 I think there was something related to the warning
   WARNING: Unable to verify checksum for ...
 but I couldn't find it any more.

 What was the reason for this warning, is this warning related to the slowdown?
 How could I fix the bad cdb speed on my installation side?

 (I use cdb to debug gdb support atm)

 Peter
 ___
 Qt-creator mailing list
 Qt-creator@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Slow cdb

2013-06-04 Thread Peter Kümmel
On 04.06.2013 10:27, David Schulz wrote:
 Hi Peter,

 the warning could result from using the Microsoft Symbol Server.
 The problem is that the cdb tries to get all your symbols from this server.
 What results in some overhead for all the symbols which are not
 available. For Example the whole Qt and QtCreator libraries.

 If you have a Creator checkout from the 2.8 branch you schould be able
 to add a symbol cache to the symbol paths for the cdb in the options
 under Debugger - CDBPaths - Symbol Paths - Insert... - Symbol Cache...
 It is important that you insert the cache before the symbol server
 otherwise the symbols wouldn't get cached and read before the server is
 contacted.

 If you are using an older QtCreator add the symbolcache manually. The
 setting can be found under Options - Debugger - CDB - Paths - Symbol
 Paths - Edit... in versions  2.8.

 For Example:
 cache*C:\dev\symbolcache

 srv*http://msdl.microsoft.com/download/symbols


 You should also remove the folder from the path with srv*. Otherwise The
 symbols from the server would be cached in two places.

 BR David

Great! Seems this solves the issue.

But I couldn't test with Creator and qbs, because 2.8/qbs build is broken:

 ..\diffeditoreditable.cpp': No such file or directory

Peter




___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator