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

ether zhhb etherzhhb at gmail.com
Thu Apr 1 02:40:49 PDT 2010


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100401/47a6d45b/attachment.html>


More information about the cfe-dev mailing list