Combination graphviz and debug statements. If really strange things are happening the most likely culprit is unintended nondeterminism. Often I will shrink the machine (and cut back the input) to narrow down problems. If you bring it down to something really small and incrementally enable components, all the while testing your assumptions, you can often find the source of the problem quite quickly.

On 04/04/2011 01:38 PM, Vladimir VG wrote:
Hi everyone,

How you usually debug your ragel-based parser?

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/rag

--
Adrian D. Thurston
http://www.complang.org/thurston/

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to