QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: FellippeHeitor on January 12, 2021, 01:24:10 pm

Title: Error reporting (v1.5)
Post by: FellippeHeitor on January 12, 2021, 01:24:10 pm
Regarding reporting more precisely where an error occurs, turns out QB64 already generates that bit of info - which can be seen when you compile a program via the command line.

The update I'll be pushing today for the upcoming v1.5 will use that information for the IDE as well.

Keep in mind that the information reported is the fragment of the line where compilation found the error - you won't be seeing anything more detailed than that.

Also, keep in mind that the reported line fragment will have already passed through the tokenizer and will contain some extra internal information, like spaces and the length of text being reported after "quoted strings" (see below).

  [ This attachment cannot be displayed inline in 'Print Page' view ]  
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
  [ This attachment cannot be displayed inline in 'Print Page' view ]  
Title: Re: Error reporting (v1.5)
Post by: SpriggsySpriggs on January 12, 2021, 02:06:06 pm
Sweet! I've been hoping for more verbose IDE errors. You are on a roll, dude!
Title: Re: Error reporting (v1.5)
Post by: FellippeHeitor on January 12, 2021, 02:09:31 pm
Work vacations are a bliss.
Title: Re: Error reporting (v1.5)
Post by: Pete on January 12, 2021, 03:50:45 pm
i dom't makke errorz su i won'd bee neeeding thiis.

Pete