[lldb-dev] lldb status at windows

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Fri Jan 22 11:13:02 PST 2016


When you compile, you need to use -fuse-ld=lld.  Most people miss this step.

That said, it's not supposed to hang, but it is supposed to not work.

What's the command line you used with clang?

On Fri, Jan 22, 2016 at 11:08 AM Red Skotina <red.skotina at gmail.com> wrote:

> Look like I miss something , but i cant debug simple program program
> compiled with clang from trunk (258016), msvc 2015 stdlib, from vs2015 x86
> developer console .
>  i use lldb from trunk
>     #include "stdio.h"
>
>     int main(int argc, char **argv)
>     {
>         printf("hello1\n");
>         printf("hello2\n");
>         return 0;
>     }
>
> d:\code\tests\test2>lldb a.exe
> (lldb) target create "a.exe"
> Current executable set to 'a.exe' (i686).
> (lldb) run
>
> Process 6264 launching
>
> ---------------------------
> a.exe and lldb hangs
>
> What i doing wrong ?
>
>
> 2016-01-08 0:42 GMT+03:00 Red Skotina <red.skotina at gmail.com>:
>
>> Nice to hear. I should answer after some time of using
>>
>> 2016-01-07 21:04 GMT+03:00 Zachary Turner <zturner at google.com>:
>>
>>> Feel free to file bugs or post your feedback here after you use about
>>> what worked, what didn't work, what's missing, etc.  Anything that doesn't
>>> work is a bug that I would like to fix.
>>>
>>> On Thu, Jan 7, 2016 at 10:02 AM Zachary Turner <zturner at google.com>
>>> wrote:
>>>
>>>> Hi, I guess I should make a new blog post at some point, or post status
>>>> on the website.  Here's my best estimate at what you can expect.
>>>>
>>>> * Most common debugging scenarios should work.  Run under debugger,
>>>> attach to process, interrupt, continue, print variable values, evaluate
>>>> expressions, etc.
>>>> * Step-over might be unstable in certain scenarios
>>>> * Conditional breakpoints don't work
>>>> * Hardware watchpoints don't work
>>>> * Expression evaluation might not work in some advanced cases.
>>>>
>>>> The main big feature that has been added since the original blog post
>>>> is support for windows minidump files.  So you can create a minidump of a
>>>> stopped process from inside LLDB, and you can load up a minidump and do
>>>> post-mortem debugging.
>>>>
>>>> On Wed, Jan 6, 2016 at 10:39 PM Red Skotina via lldb-dev <
>>>> lldb-dev at lists.llvm.org> wrote:
>>>>
>>>>> Where can i look lldb status for native debug at Windows?
>>>>> _______________________________________________
>>>>> lldb-dev mailing list
>>>>> lldb-dev at lists.llvm.org
>>>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>>>>>
>>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160122/9732a522/attachment.html>


More information about the lldb-dev mailing list