2 ms·
IMO, this is more of a problem of indirections than its a problem of callbacks. If you use anonymous function as the callback there is no indirection and you k
by ufo 13y ago
IMO, this is more of a problem of indirections than its a problem of callbacks.
If you use anonymous function as the callback there is no indirection and you know perfctly well where to set the break point.
At the same time, you can also have the sort of debugging problem you mentioned in regular code whenever you call a method in some polymorphic object. (the "listener" pattern is just one example of this)