Author Topic: BUG REPORT: _ConsoleTitle has difficulties with the new Debug mode  (Read 2547 times)

0 Members and 1 Guest are viewing this topic.

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Some sample code:

Code: [Select]
$Debug
Rem $DYNAMIC
$Console:Only

_Source _Console
Width 120, 30
Option Base 1

_ConsoleTitle "This is a sample console title"
Cls
Print "If you see this output, then everything is working properly."

' The following line serves no purpose other than to pause the program
Input a


Run the program. Note that PRINT statement never seems to run. In addition, in the IDE you will see that status shows "Running..." indefinitely.

Now, set a break point on line 9 (the line that starts with _ConsoleTitle).
Run the program.
When execution pauses, press F5 to resume running the program. Note that the program now completes successfully including the display of the output from the PRINT statement.

Likewise, if you simply remove the $Debug line and run the program, it will execute just fine.

Test conditions:

This is the August 15th dev build (38e0ec3) of QB64 running on Windows 10 21H1 with all the latest updates installed.

FellippeHeitor

  • Guest
Re: BUG REPORT: _ConsoleTitle has difficulties with the new Debug mode
« Reply #1 on: August 16, 2021, 05:16:51 pm »
Thanks for reporting!

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: BUG REPORT: _ConsoleTitle has difficulties with the new Debug mode
« Reply #2 on: August 16, 2021, 06:36:49 pm »
Can confirm that $Debug with _ConsoleTitle has issues in Windows 11 build 21H2 as well.
Shuwatch!