Python Exception <type 'exceptions.KeyError'> with cy break in cygdb

264 views
Skip to first unread message

Joon

unread,
Oct 7, 2012, 2:55:51 PM10/7/12
to cython...@googlegroups.com
Hi,

I tried to set breakpoint with (gdb) cy break packagename.modulename:14, but I've got the following error:

(gdb) cy break _simulation._cal_neg_sum_dis_pi:574
Python Exception <type 'exceptions.KeyError'> ('_simulation._cal_neg_sum_dis_pi',): 
Error occurred in Python command: ('_simulation._cal_neg_sum_dis_pi',)

But when I do just (gdb) cy break packagename.modulename:

(gdb) cy break _simulation._cal_neg_sum_dis_pi
Function "__pyx_f_11_simulation__cal_neg_sum_dis_pi" not defined.
Breakpoint 1 (__pyx_f_11_simulation__cal_neg_sum_dis_pi) pending.

I do not know what is going on with the "... not defined" message, but at least the breakpoint is set and when I do (gdb) cy run it stops at the breakpoint. 

Thank you,
Joon

Reply all
Reply to author
Forward
0 new messages