[Lldb-commits] [lldb] r175197 - Make it clear that if you #include .c/.cpp/.m/.mm etc files, you will have to

Jim Ingham jingham at apple.com
Thu Feb 14 11:10:36 PST 2013


Author: jingham
Date: Thu Feb 14 13:10:36 2013
New Revision: 175197

URL: http://llvm.org/viewvc/llvm-project?rev=175197&view=rev
Log:
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.

<rdar://problem/13189024>

Modified:
    lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp

Modified: lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp?rev=175197&r1=175196&r2=175197&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectBreakpoint.cpp Thu Feb 14 13:10:36 2013
@@ -629,7 +629,10 @@ CommandObjectBreakpointSet::CommandOptio
         "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."},





More information about the lldb-commits mailing list