[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 138040] New: Debugger cannot show QStringList objects correctly
From:       "András" "Manţia" <amantia () kde ! org>
Date:       2006-11-28 19:02:44
Message-ID: 20061128200243.138040.amantia () kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138040         
           Summary: Debugger cannot show QStringList objects correctly
           Product: kdevelop
           Version: SVN
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: NOR
         Component: CPP Debugger
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: amantia kde org


The debugger fails to display the content QStringList (Qt3) correctly.
The code is something like this:
PluginController::getInstance()->unloadPlugins( m_info->m_ignoreParts );

m_info->m_ignoreParts is the QStringList, and has one element (node).

If I watch the variable, it shows:
There is no member or method named QValueList<QString>. for the "data" field of 
the nodes, 
but it correctly show that the list has 1 nodes.

Furthermore in the unlodPlugins we have:
void PluginController::unloadPlugins( QStringList const & unloadParts )
{
	QStringList::ConstIterator it = unloadParts.begin();
	while ( it != unloadParts.end() )
	{
...
}

unloadParts should be the same as m_info->m_ignoreParts. Well, at this stage 
the debugger doesn't even 
show *any* value for the "nodes" entry (should be 1), and of course the above 
problem is present here as well.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic