[lldb-dev] Exception breakpoint questions

Bruce Mitchener bruce.mitchener at gmail.com
Sat Jul 5 01:04:50 PDT 2014


On Sat, Jul 5, 2014 at 11:41 AM, Bruce Mitchener <bruce.mitchener at gmail.com>
wrote:

> A couple of questions about exception breakpoints:
>
> 1) In SetExceptionBreakpoints in the various LanguageRuntime plugins, the
> C++ one bails out if m_process is not valid, while the Objective C version
> doesn't perform that check. Is the check necessary? Should both runtimes
> perform it? (Should my Dylan language runtime plugin do it?)
>
> 2) ThreadPlanCallFunction requires code for each language runtime
> currently to deal with exception breakpoints (and a new member variable).
> Wouldn't it be better to iterate over the active / available language
> runtime plugins instead (using PluginManager::GetLanguageRuntimeInstances())
>

Minor correction, this would be done via the Process's m_language_runtimes.


> I'm happy to submit patches based on answers to the above.
>

 - Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140705/6e5260f4/attachment.html>


More information about the lldb-dev mailing list