Author Topic: Error reporting (v1.5)  (Read 2342 times)

0 Members and 1 Guest are viewing this topic.

FellippeHeitor

  • Guest
Error reporting (v1.5)
« 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).

  [ You are not allowed to view this attachment ]  
  [ You are not allowed to view this attachment ]  
  [ You are not allowed to view this attachment ]  
« Last Edit: January 12, 2021, 01:30:35 pm by FellippeHeitor »

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Error reporting (v1.5)
« Reply #1 on: January 12, 2021, 02:06:06 pm »
Sweet! I've been hoping for more verbose IDE errors. You are on a roll, dude!
Shuwatch!

Marked as best answer by on Today at 06:17:05 am

FellippeHeitor

  • Guest
Re: Error reporting (v1.5)
« Reply #2 on: January 12, 2021, 02:09:31 pm »
  • Undo Best Answer
  • Work vacations are a bliss.

    Offline Pete

    • Forum Resident
    • Posts: 2361
    • Cuz I sez so, varmint!
      • View Profile
    Re: Error reporting (v1.5)
    « Reply #3 on: January 12, 2021, 03:50:45 pm »
    i dom't makke errorz su i won'd bee neeeding thiis.

    Pete
    Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/