<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 07/13/2010 11:23 AM, Victor Carvalho wrote:
<blockquote cite="mid:4C3C76D1.8010307@cedrofinances.com.br" type="cite">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <font color="#666666">Hi Millian and folks,<br>
  <br>
Here on work im facing constantly this bug when using kdevelop to debug
my projects. Somehow, when debugging, when I do a "step over" or any
command, the session stop responding. I can see the current line arrow
where I last stepped, but any command I send doesn't have any effect.
The Run menu has all itens enabled (which means the debbuger state as
not running?), and if I press the pause button on gdb toolbox
constantly <br>
all commands I've previously sended run in sequence without any
interaction of me, but this doesn't works every time. I'm sending an
output log from kdevelop with the moment this happened. Right on the
begin of the log you can see that I've issued some "next" commands and
got no response. Then I've pressed the pause button and from there on
everything got executed. It's like the command buffer not being sent to
gdb at some point.<br>
  </font></blockquote>
<br>
Looking at the output log I've seen that I'm getting an exception from
gdb pretty printing when trying to format a string:<br>
<br>
kdevelop(13532)/kdevelop (gdb debugger) GDBDebugger::GDB::processLine:
GDB output:  "(gdb) "<br>
kdevelop(13532)/kdevelop (gdb debugger) GDBDebugger::GDB::processLine:
GDB output:  "~"Traceback (most recent call last):\n""<br>
kdevelop(13532)/kdevelop (gdb debugger) GDBDebugger::GDB::processLine:
GDB output:  "~"  File
\"/usr/local/share/apps/kdevgdb/printers/libstdcxx.py\", line 561, in
to_string\n""<br>
kdevelop(13532)/kdevelop (gdb debugger) GDBDebugger::GDB::processLine:
GDB output:  "~"    return self.val['_M_dataplus']['_M_p'].string
(encoding, length = len)\n""<br>
kdevelop(13532)/kdevelop (gdb debugger) GDBDebugger::GDB::processLine:
GDB output:  "~"RuntimeError: Cannot access memory at address
0x35fffff4\n""<br>
<br>
<br>
Could this be the problem that is making kdevelop stop responding?<br>
<br>
<blockquote cite="mid:4C3C76D1.8010307@cedrofinances.com.br" type="cite"><font
 color="#666666"><br>
Info: I'm using 4.0 tag this time :)<br>
  <br>
Thanks,<br>
  <br>
Victor<br>
  </font>
  <div class="moz-signature">
  <div id="mailBody">
  <div id="subfooter"> </div>
  </div>
  </div>
</blockquote>
</body>
</html>