Re: [i3] lexer config parser, Identifying the line in my config which is causing the error.

  • From: Michael Stapelberg <michael+i3@xxxxxxxxxxxxx>
  • To: i3-discuss <i3-discuss@xxxxxxxxxxxxx>
  • Date: Thu, 11 Feb 2010 09:57:04 +0100

Hi Scott,

Excerpts from Scott Benjamin's message of Do Feb 11 06:17:57 +0100 2010:

I've been using I3 for about a month now, loving it very much.
Nice to hear :-).

My question is, is there an easy way to help identify the line that is
causing the error? I've tried scanning the output to identify the exact
line but I'm not seeing it.
Unfortunately not yet, proper error handling is still on the TODO list. The
only thing you can do for now is starting i3 with full debug level (-V -d all)
and check the logfile for the lines which the parser correctly interpreted.
The lines in your configfile which follow these are the problem. If you have
some experience with config file parsing / grammars, the debug output should
give you some hints aswell ;-).

Best regards,
Michael

PS: If nothing helps, you can come to our IRC channel and/or send me your
config so we can debug the config together.

Other related posts: