Take a look at ProcessWindowsLive.cpp in Plugins/Process/Windows.  There's
a function called ProcessWindowsLive::OnDebugException.  If you're working
in a fork and you don't intend to upstream any changes, you could just
modify the default case of the switch statement there to not
return ExceptionResult::SendToApplication.

If you wanted to upstream something, you'd probably want a way to specify
what types of exceptions to break on.  For this you'd need to implement a
new command so that you could do something like "break set --exception
0xC0000005" and pass that information to the ProcessWindowsLive plugin
somehow, so that it could decide when to break and when to pass it on to
the application for a second chance.

On Mon, Apr 4, 2016 at 8:26 AM Carlo Kok <c...@remobjects.com> wrote:

>
>
> Op 2016-04-04 om 16:00 schreef Zachary Turner:
> > Not possible currently, although it wouldn't be too hard to add. Would
> > be a welcome feature if you are interested
>
>
> I'm (obviously?) interested. But wouldn't know where to start.
>
> --
> Carlo Kok
> RemObjects Software
>
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to