Make it clear that if you #include .c/.cpp/.m/.mm etc files, you will have to
authorJim Ingham <jingham@apple.com>
Thu, 14 Feb 2013 19:10:36 +0000 (19:10 +0000)
committerJim Ingham <jingham@apple.com>
Thu, 14 Feb 2013 19:10:36 +0000 (19:10 +0000)
change the breakpoint-inline-strategy for the breakpoints to take.

<rdar://problem/13189024>

llvm-svn: 175197

lldb/source/Commands/CommandObjectBreakpoint.cpp

index 87566ad..a029819 100644 (file)
@@ -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."},