From 289aca642eb0033aa8bdc9b2ce163b346d807193 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Thu, 14 Feb 2013 19:10:36 +0000 Subject: [PATCH] Make it clear that if you #include .c/.cpp/.m/.mm etc files, you will have to change the breakpoint-inline-strategy for the breakpoints to take. llvm-svn: 175197 --- lldb/source/Commands/CommandObjectBreakpoint.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 87566ad0ae36..a029819848d4 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -629,7 +629,10 @@ CommandObjectBreakpointSet::CommandOptions::g_option_table[] = "The breakpoint stops only for threads in the queue whose name is given by this argument."}, { LLDB_OPT_FILE, false, "file", 'f', required_argument, NULL, CommandCompletions::eSourceFileCompletion, eArgTypeFilename, - "Specifies the source file in which to set this breakpoint."}, + "Specifies the source file in which to set this breakpoint. " + "Note, by default lldb only looks for files that are #included if they use the standard include file extensions. " + "To set breakpoints on .c/.cpp/.m/.mm files that are #included, set target.inline-breakpoint-strategy always " + " to \"always\"."}, { LLDB_OPT_SET_1, true, "line", 'l', required_argument, NULL, 0, eArgTypeLineNum, "Specifies the line number on which to set this breakpoint."},