Clarifications on kdevelop-pg-qt
Victor Vicente de Carvalho
victor.v.carvalho at gmail.com
Tue May 18 14:15:29 UTC 2010
2010/5/18 Andreas Pakulat <apaku at gmx.de>
> On 17.05.10 19:20:34, Victor Vicente de Carvalho wrote:
> > 2010/5/17 Jonathan Schmidt-Dominé - Developer <devel at the-user.org>
> >
> > > Hi!
> > >
> > > > Since kdevelop-pg-qt migration to git a strange behavior was
> happening
> > > when
> > > > I'm debugging parser-generated files. After some digging I've found
> that
> > > on
> > > > erlangparser.cpp this definition (what is this anyway?) is appearing
> now:
> > > >
> > > > # 567 "/home/victor/kdev-extra/erlang/parser/erlang.g"
> > > >
> > > > this line is making the debugger point to erlang.g when it should
> point
> > > to
> > > > erlangparser.cpp
> > > No, I have commited it before the git-migration. :D
> > >
> > > > How do I disable this?
> > > Yes, apaku is right, --beautiful-code, it will certainly look more
> > > beautiful.
> > > But I think that this "strange" behaviour is often useful. But I think
> it
> > > would be better if not all references are pointing to the .g-file, will
> try
> > > to
> > > fix it. Maybe it will be useful for you, too. ;)
> > >
> > > Sorry, but I couldn't understand what exactly this do besides
> redirecting
> > all debugging from parser to the grammar file?
>
> Exactly, you don't have to try to lookup which generated c++ code
> corresponds to which grammar rule. Its directly visible.
>
> > Could you clarify that? Oh, and there is some way to remove this when
> > generating files?
>
> As I said, run the generator with --beautiful-code.
>
Sorry Andreas, I meant on the CMake script, like as a parameter :).
>
> Andreas
>
> --
> Reply hazy, ask again later.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100518/4cd24c82/attachment.html>
More information about the KDevelop-devel
mailing list