MI branch merge
Vladimir Prus
ghost at cs.msu.su
Mon May 22 13:19:11 UTC 2006
On Saturday 20 May 2006 17:13, Andras Mantia wrote:
> 4) when debugging the following for loop:
> for (KURL::List::ConstIterator i = urls.begin(); i != urls.end(); ++i)
> {
> if (!QExtFileInfo::exists(*i, true, this))
> ...
> }
> in the variables view the content of i (i->node->data) is OK the first
> time, but after stepping to the next iteration, it is not, it shows the
> first value for i->node->data. Only the following fields are updated:
> i->node
> i->node->next
> i->node->prev
> i->node->data->d
>
> but not anything like:
> i->node->data0>m_strPath...
>
> This makes debugging such loops impossible.
>
>
> 5) I have some code which look like this:
> KMimeType::List list = KMimeType::allMimeTypes();
> KMimeType::List::iterator it;
> bool status = false;
> KMimeType::Ptr mime = KMimeType::findByURL(url);
> QString mimetype = mime->name();
>
> when entering the method, for mimetype the variables view shows
> (inaccessible). After stepping through the line where it is
> initialized, it is still (inaccessible). Obvisouly it *has* some value.
Both problems are result of the fact that QString items are never
re-evaluated. I'll look into this tomorrow.
Thanks for the report!
- Volodya
More information about the KDevelop-devel
mailing list