QB.EXE "Not Watchable" Error in SUB for SHARED Watch Variable (44410)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- QBX.EXE environment in Microsoft Basic Professional Development System (PDS) 7.0
- QBX.EXE environment in Microsoft Basic Professional Development System (PDS) 7.1
This article was previously published under Q44410 SUMMARY
Watch variables (which are set in QuickBasic's Debug menu) have a
local scope. That is, you must reset a Watch on that variable in each
SUBprogram or FUNCTION procedure, even if the variable is in a SHARED
or COMMON SHARED statement.
If you Add a Watch at the main module level for a SHARED or COMMON
SHARED variable, when you Step into a SUB or FUNCTION, the message
"<Not watchable>" appears in the Debug window.
This information applies to the QB.EXE environment in QuickBasic
Versions 4.0, 4.0b, and 4.5, and to the QBX.EXE environment in
Microsoft Basic Professional Development System (PDS) Versions 7.0 and
7.1.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB44410 |
---|
|