[ragel-users] Ragel lines listing inside GDB
Adrian Thurston
thurs... at cs.queensu.ca
Mon Apr 7 03:02:11 UTC 2008
I noticed the other day that some scanner actions are not prefixed with
line information. I think there is just one part of the code where where
I forgot to add it in. Can you send me output that is missing #line
directives?
-Adrian
Manoj Rajagopalan wrote:
> hi all,
>
> I find I am not able to list the lines of my .rl file when stepping
> through with GDB. Has anyone who has experienced this also found a solution?
>
> I'm running ragel without the -L flag so the #line directives are
> being generated.
>
> One of the workarounds I've found is to use the -L flag and then set
> breakpoints on the .cpp file. Since most of the debug is with the
> non-ragel parts of the file this works most of the time but it is an
> extra step to correlate the ragel file line with the .cpp file so I was
> wondering if a direct means of listing lines in the .rl file is possible.
>
> Thanks,
> Manoj
>
> >
>
More information about the ragel-users
mailing list