[lldb-dev] Fw:Re:Re: here need your help

liu chao jun amiko212 at 126.com
Wed Dec 25 19:06:44 PST 2013




Thank you for your reply ,after I runj break list command to check all breakpoints ,and it seems not resolved correctly , and hit count = 0 ,However I have no ideas about why it is . Is there any errors of my operations ? Thank you very much ! And looking forward to your reply.

BR//Amiko






At 2013-12-25 16:49:33,"Enrico Granata" <egranata at apple.com> wrote:

Do you get any output from lldb upon setting the breakpoint?
That would be a first step. You can also issue a breakpoint list command to check all breakpoints and see if they resolved correctly.

Sent from the iPhone of
Enrico Granata <egranata@🍎.com>

On Dec 25, 2013, at 8:45 AM, liu chao jun <amiko212 at 126.com> wrote:


 hi all ,
     This is amiko who is a new lldb user ,There is same questions  need your help
1, Can lldb  debug C/C++ project .ext file directly  like gdb or not ?
2 ,Here is a simple c project named helloword  the detail source please follow below:

// helloworld.c \
1 #include <stdio.h>
2 int main()
3 {
4     int i  ;
5     for(i=0 ;i<2;i++)
6    {
7       printf ("hello world\n");
8    }
9      return 0 ;
10 }
my step is
1 clang -g -o helloworld helloworld.c
2 $lldb helloworld
3<lldb> b hellowold.c:7
4 run
I think it will pause in line 7 .however it seems fail ,and print two hello world , In other word setting breakpoint operation does not useful . Is any error or fault for my operations ,Thank you very much ,And looking forward to your reply ,Thanks again . 







_______________________________________________
lldb-dev mailing list
lldb-dev at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131226/7fe1f8b7/attachment.html>


More information about the lldb-dev mailing list