Re: [patch] Add an evaluation function hook to Python breakpoints.

Tom Tromey
2010-12-21T20:02:04Z

>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> For example, what happens after a checker employing stop_p says
Doug> "stop"? There's nothing more in the API that helps the user know
Doug> *why* the checker said "stop". At the moment the API doesn't provide
Doug> anything. Checkers will have to print an error message, but I have a
Doug> feeling something more will be useful.
Doug> [Did you have something in mind, or am I missing something?]

The method in question is attached to a particular breakpoint. So, if
it requests a stop, it will be reported as coming from that breakpoint.

This falls down a little if the breakpoint is internal. For this I
think we will need to export a breakpoint_ops method to python.

Tom