• Print

Author Topic: Debugging and Reporting of Crashes/Freezes in QB64  (Read 290 times)


  • Administrator
  • Hero Member
  • *****
  • Posts: 4664
  • QB Forever
    • Email
Debugging and Reporting of Crashes/Freezes in QB64
« on: January 12, 2013, 09:57:45 PM »
Generally, QB64 will give an error message when you have done something wrong. However, if a crash or freeze occurs a different sort of information is required. This information is about the low-level C++ code your program was built with. To facilitate the collection of detailed error reports a C++ executable debugging option has been added to QB64 [version 0.971 onwards ***not available yet***].

Follow these steps to generate a C++ debug report:

1) Select the C++ Debugging option in the OPTIONS->ADVANCED... section of the QB64 editor

2) RUN your program again, then go to the INTERNAL/TEMP folder and launch the batch file called "DEBUG". After it launches you need to enter the command "run".

3) Your QB64 program will run. Make it crash/freeze (if it hasn't already). Then type the command "list" to list the C++ code region which caused the crash. If making a report, include your .BAS file and the debug info in the yellow and aqua region of this screenshot.
« Last Edit: January 17, 2013, 03:37:10 PM by Galleon »
Something old... Something new... Something borrowed... Something blue...

  • Print