aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-02-14 19:10:36 +0000
committerJim Ingham <jingham@apple.com>2013-02-14 19:10:36 +0000
commit289aca642eb0033aa8bdc9b2ce163b346d807193 (patch)
tree2068769e7acf2c591aaa20518e201b5a69bc17f5 /lldb/source/Commands/CommandObjectBreakpoint.cpp
parentf809c6491d34dc702d12eeec63b03303c87dca7f (diff)
downloadllvm-289aca642eb0033aa8bdc9b2ce163b346d807193.zip
llvm-289aca642eb0033aa8bdc9b2ce163b346d807193.tar.gz
llvm-289aca642eb0033aa8bdc9b2ce163b346d807193.tar.bz2
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> llvm-svn: 175197
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 87566ad..a029819 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."},