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

List:       kdevelop-bugs
Subject:    [Bug 138041] New: Problems with frame stack handling
From:       "András" "Manţia" <amantia () kde ! org>
Date:       2006-11-28 19:04:26
Message-ID: 20061128200422.138041.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=138041         
           Summary: Problems with frame stack handling
           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. 

The above information is from bug #138040 and repeated here to give background 
about the frame stack bug described below.

If I want to go back to inspect m_info->m_ignoreParts again, I click on the #1 
frame in the frame stack. It 
goes back to the correct line (the above one), gives me some errors:
Can't take address of "this" which isn't an lvalue.
Can't take address of "this" which isn't an lvalue.
Address requested for identifier "part" which is in register $rbp
Variable object not found
No symbol "m_info" in current context.
Variable object not found
There is no member or method named QValueList.
There is no member or method named QValueList.

and I end with a disabled m_info->m_ignoreParts under Watch. I *cannot* remove 
it, but
I can add again the same m_info->m_ignoreParts under Watch, ending with two 
entries.
 Doing so more errors appear:
No symbol "m_info" in current context.
mi_cmd_var_create: unable to create variable object
Variable object not found
Variable object not found
No symbol "m_info" in current context
Variable object not found
Variable object not found
No symbol "m_info" in current context.

The new entry is added, but I still cannot inspect the variable's value.


The double error messages might come because I had two entries for 
m_info->m_ignoreParts.


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

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