[ns] mixing Tcl and C debugging

Alex Hamidian alexh@telecom.lth.se
Wed Apr 17 05:18:05 2002


--------------020002010208020706090609
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi again,
this is what I get when I type: p this->name_
        (gdb) There is no member or method named name_.

And this is what I get when I type: call Tcl::instance().eval("debug 1")
        (gdb) Cannot resolve method Tcl::eval to any overloaded instance

http://www.isi.edu/nsnam/ns/ns-debugging.html

Anybody knows why?
Hamidian





Alex Hamidian wrote:

> Hi,
> since it's important to me to mix Tcl and C debugging I'm resending 
> this email.
> If there is anybody out there who knows (or have have a clue about) 
> how to mix Tcl and C debugging, please help me!
>  
> Thanks
> Hamidian
>
> Alex Hamidian wrote:
>
>>  Hi everyone,
>>
>> does anyone know how to mix Tcl and C debugging?
>>
>> I found on the homepage (debugging tips) that I can use
>>
>>call Tcl::instance().eval("debug 1")
>>
>> ,but how?
>>
>> Any suggestion will be appreciated, thanks
>> Hamidian
>>
>


--------------020002010208020706090609
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Hi again,<br>
this is what I get when I type:<i> p this-&gt;name_</i><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (gdb) There is no member or method named name_.<br>
<br>
And this is what I get when I type: <i>call Tcl::instance().eval("debug 1")</i><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (gdb) Cannot resolve method Tcl::eval to any overloaded instance<br>
<br>
<a href="http://www.isi.edu/nsnam/ns/ns-debugging.html">http://www.isi.edu/nsnam/ns/ns-debugging.html</a>
<br>
<br>
Anybody knows why?<br>
Hamidian<br>
<br>
<br>
<br>
<br>
<br>
Alex Hamidian wrote:<br>
<blockquote type="cite" cite="mid:3CBD4191.5020400@telecom.lth.se">   Hi,<br>
 since it's important to me to mix Tcl and C debugging I'm resending this 
email. <br>
 If there is anybody out there who knows (or have have a clue about) how
to mix Tcl and C debugging, please help me!<br>
 &nbsp;<br>
 Thanks <br>
 Hamidian<br>
  <br>
 Alex Hamidian wrote:<br>
  <blockquote type="cite" cite="mid:3CBC0869.10408@telecom.lth.se">   &nbsp;Hi
everyone,<br>
    <br>
  does anyone know how to mix Tcl and C debugging?<br>
    <br>
  I found on the homepage (debugging tips) that I can use     
    <pre><b>call Tcl::instance().eval("debug 1")</b></pre>
  ,but how?<br>
    <br>
  Any suggestion will be appreciated, thanks<br>
  Hamidian<br>
    <br>
    </blockquote>
    <br>
    </blockquote>
    <br>
    </body>
    </html>

--------------020002010208020706090609--