set breakpoints from namespace window
Brought to you by:
nir1408
It would be great to be able to set a breakpoint on a class method, or better yet on a method on some instance of a class (maybe that could be implemented as a conditional breakpoint), in the namespace window.
I.e. you have a variable called foo, which is shown in the namespace window. you want to set a breakpoint that triggers when foo.bar() is called. The idea is to do this by clicking on foo and maybe navigating inside its structure to find foo.bar or foo.__class__.bar, and set a breakpoint by hitting f9 or whatever. --paul (phr)
Logged In: NO
nice idea,
In the mean time you can type in the console:
bp classname.methodname
if this scope is located in another file try:
bp modulename:classname.methodname