[cfe-dev] View graph while debugging code on windows

章磊 ioripolo at gmail.com
Thu Apr 1 18:05:34 PDT 2010


thanks, ether. I will try that.

2010/4/1 ether zhhb <etherzhhb at gmail.com>

> hi,
>
> It seems that this is because llvm delete the graph file before graphviz
> program start. you can just comment the statements that delete this file,
> that work for me :P
>
> best regards
> --ether
>
> On Thu, Apr 1, 2010 at 4:14 PM, 章磊 <ioripolo at gmail.com> wrote:
>
>> Hi all,
>>
>> I've been study clang for a while, and i found it's great to view some
>> graph (while debugging code).
>> Usually i use gdb under emacs and call GRExprEngine::ViewGraph(false) when
>> i need to see where the analysis goes.
>>
>> But i found it's faster for me to debug clang in VS, because i can see
>> "locals" much quickly and clearly.
>>
>>
>>
>> Here comes the problems:
>>
>> First, can i make the "-analyzer-viz-egraph-graphviz" or something like
>> this happen on windows? If so, how?
>>
>> Second, is there anything like "gdb call" in VS Debugging? Further, can i
>> make GRExprEngine::ViewGraph(false) happen while debugging clang in VS?
>>
>> I'll also appreciate it if there are any advice about debugging with gdb.
>>
>> Thanks.
>>
>> --
>> Best regards!
>>
>> Lei Zhang
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
>


-- 
Best regards!

Lei Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100402/22eb36e0/attachment.html>


More information about the cfe-dev mailing list