[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:31:05 PST 2013
Yep, thanks.
Jim
On Feb 14, 2013, at 11:20 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Thu, Feb 14, 2013 at 9:10 PM, Jim Ingham <jingham at apple.com> wrote:
>> 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 "
>
> Extra 'always'?
>
> Dmitri
>
>> + " to \"always\"."},
>>
>> { LLDB_OPT_SET_1, true, "line", 'l', required_argument, NULL, 0, eArgTypeLineNum,
>> "Specifies the line number on which to set this breakpoint."},
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the lldb-commits
mailing list