From fab10e89cea94df0c8aa75cc6a7a0ced7330b587 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 6 Mar 2012 00:37:27 +0000 Subject: Add a command and an SB API to create exception breakpoints. Make the break output prettier for Exception breakpoints. llvm-svn: 152081 --- lldb/source/Breakpoint/Breakpoint.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lldb/source/Breakpoint/Breakpoint.cpp') diff --git a/lldb/source/Breakpoint/Breakpoint.cpp b/lldb/source/Breakpoint/Breakpoint.cpp index 4d37a7a7edd..7a897661e76 100644 --- a/lldb/source/Breakpoint/Breakpoint.cpp +++ b/lldb/source/Breakpoint/Breakpoint.cpp @@ -487,7 +487,10 @@ Breakpoint::GetDescription (Stream *s, lldb::DescriptionLevel level, bool show_l } else { - s->Printf(", locations = 0 (pending)"); + // Don't print the pending notification for exception resolvers since we don't generally + // know how to set them until the target is run. + if (m_resolver_sp->getResolverID() != BreakpointResolver::ExceptionResolver) + s->Printf(", locations = 0 (pending)"); } GetOptions()->GetDescription(s, level); -- cgit v1.2.3