but this problem just is for dbg.load , if i use dbg.attach i haven't this problem and i can give control of program and set breakpoint in openrce site was this subject http://www.openrce.org/forums/posts/232 pedram amini answer : That snippet was really there to demonstrate the ease of use. Taking a look at it I see there are two silly errors (I'll fix this in the next release of the documentation). The last line should be dbg.xxxx and the log() function is not defined, switch it to a print. ie:

then write some line code for set breakpoint by attach method and i test this code will work

in follow you can see python code for set breakpoint by attach method ( write by pedram amini ) :