[ndnSIM] Debugging Strategy
Marzieh Babaeianjelodar
babaeim at clarkson.edu
Mon Jul 17 12:47:42 PDT 2017
Hi,
When I debug with gdb it does not break into the function inside the strategy file (afterReceiveInterest), and so I am unable to find the error inside that function.
There is the following attached file for when i run the debugger.
Best Regards,
Marzieh
> On Jul 13, 2017, at 9:16 PM, Marzieh Babaeianjelodar <babaeim at clarkson.edu> wrote:
>
> Thanks, I was looking for gdb but I didn't know how to run it.
> Now I found the code.
>
> ~Marzieh
>
>> On Jul 13, 2017, at 8:57 PM, Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu <mailto:mastorakis at cs.ucla.edu>> wrote:
>>
>> Hi,
>>
>> the way to do that is through a simulation scenario using this strategy. You run the scenario under gdb and set the appropriate breakpoints in the strategy code.
>>
>> Thanks,
>>
>> Spyridon (Spyros) Mastorakis
>> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
>> Internet Research Laboratory
>> Computer Science Department
>> UCLA
>>
>>> On Jul 12, 2017, at 10:30 AM, Marzieh Babaeianjelodar <babaeim at clarkson.edu <mailto:babaeim at clarkson.edu>> wrote:
>>>
>>> Dear All,
>>>
>>> I coded my own strategy and it has a segmentation fault and I was wondering if I could use a debugger (gdb) to debug my strategy?
>>>
>>> Best Regards,
>>> Marzieh
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170717/05b433fb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myfile
Type: application/octet-stream
Size: 1862 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170717/05b433fb/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170717/05b433fb/attachment-0001.html>
More information about the ndnSIM
mailing list