3GL   4GL   5GL  

Visual Basic

  1. - Visual Basic
  2. -
  3. : Break In Break On
  4. Break On All Errors
  5. Break On Unhandled Errors
  6. Break In Class Module
  7. Visual Basic
  8. Locals
  9. Immediate
  10. Watch
  11. Run To Cursor Debug
  12. Compile On Demand

Microsoft Visual Basic . , . -, , , Microsoft ActiveX ( Visual Basic), . -, . , , Immediate , , " " .

, Visual Basic (VB) . , , , , Visual Basic (VB IDE) Watch. , . , , , ( ). - , VB- , . -, VB-.

VB- , . , , Visual Basic. , "" Locals, Immediate Watch. , Microsoft Visual C++, .

- Visual Basic

- Visual Basic (VB), , , , VB-, VB-. , . , .

-

Visual Basic 1, 1991 , . 90-, Microsoft Windows SDK, , , . Visual Basic , , "" (UI) , WYSIWYG (What-You-See-Is-What-You-Get " - -, - - "), , . Visual Basic I , "" , , -.

- (p-code packed code, " ") ( - , Intel x86). "" Visual Basic 1 , -. "" ( " " (run-time) ), - . , (DLL) VBRUN100.DLL, -.

DLL (run-time library). .

- , CPU. MS-DOS 16- Windows Microsoft -, C/C++ 7.x. , 16- Microsoft Word, Excel PowerPoint - UI-, " /" (, Windows 3 3.1). - C/C++ 7.x, , , - Visual Basic, MSDN, "Microsoft P-Code Technology" ( - Microsoft).

Visual Basic 1- 4- -. , , . , Visual Basic ( , . . ). Microsoft , " " Visual Basic, .

Visual Basic 5, 1997 , Microsoft , . Microsoft (run-time) Visual Basic, . Visual Basic. , Microsoft Visual Basic, VB IDE. " " . Visual Basic , " Visual Basic" 5, .

, VB IDE -. , VB- -, , . , -, , . , , VB- Visual C++. , Visual Basic Microsoft Visual Studio , , , , .

 

, "MinDBG: Win32" 4, , 32- c Windows, 16-, . VB- -, VB- , . Visual ) Basic , VB , , \ -, , VB, VB IDE .

VB-:

  (subclassing) Windows , , , . .

AddressOf

VB- . Windows AddressOf, , , , VB-. , , , , IDE.

VB-, , , IDE . , - , Microsoft DBGWPROC.DLL. DLL VB-. DBGWPROC.DLL http://msdn.microsoft.com/vbasic /downloads/controls.asp.

AddressOf , , , DBGWPROC.DLL, . , , VB-. ( ) , . End Run <Ctrl>+<Break>, , , IDE .

, AddressOf, , , , , , Immediate. , IDE.

, , "--" (read-only)

VB IDE , . , . .

, VB IDE Save Changes. Save Changes Environment Options. " " (on the fly), ( , VB- ). - . , , , , . , .

IDE

IDE, , IDE , . , , - , Open Project Options, .

VB- . ( ), IDE , , . , , IDE, - . . Debug. Print.

 

: Break In Break On

. VB IDE : ( ), ( ) ( ).

, IDE . , , IDE ( ) , : 

Visual Basic, , , . , , "" , .

General Option ( Tools|Options). Visual Basic Break In Class Module. " ". ( ) , Toggle .

 

Break On All Errors

( ), , VB- , , . 7.1. , . , , , ( ).

. 7.1. Visual Basic

, Break On All Errors , . ( ) Set Next Statement . , , , Visual Basic .

 

Break On Unhandled Errors

, Break On Unhandled Errors , , . . , - ( - (in-process), (out-of-process)), . : -. -, Break In Class Modules.

 

Break In Class Module

-. , , , . Break In Class Modules -, -.

 

, VB- . , , "" . , , , Break On Unhandled Errors. , , .

, VB- , , . , VB-, .

On Error GOTO Visual Basic, . , (Peet Morris) , 1 ( : "On Error GoTo Hell") Advanced Microsoft Visual Basic 6.0, The Mandelbrot Set, 2nd ed., Microsoft Press, 1998. Visual Basic, .

 

Visual Basic

VB-, . , , , . Visual Basic , Visual C++. , . VB-: Locals, Immediate Watch.

Locals

Locals , . -, Watch Visual C++, Locals Visual Basic , , . -, , Locals, Me-. this C++, Me- , .

, , : , ( , ) Value. Visual Basic , Value . Visual Basic variant. , - Controls. , CommandButton, . , Locals, Immediate.

 

Immediate

, Immediate Visual Basic . , . Immediate , , - Basic, .

Immediate Debug.Print. , , 200 , ( ), . , Immediate , . , Visual Basic Debug, clear.

Immediate , . , , frmFoo.x, ? Print (. . : ? FrmFoo.x). Immediate , IntelliSense- Microsoft. , , IntelliSense .

IntelliSense Automatic Statement Completion ( ). .

, Visual Basic Immediate , . Immediate "" "--" (read-only) , - .

, Immediate, . , , Immediate , . clcMyclass DoSomethingMagical, ( ) Watch :

Set x = New clsMyClass 

.DoSomethingMagicai 

Set x = Nothing

. , Nothing, Immediate . DoSomethingMagicai, .

, Immediate . Watch Visual C++ (. " Watch" 5), Immediate. Immediate . , .

Immediate " ", . : Immediate . : Immediate . , For...Next, . ":", . For.. .Next Immediate:

For i = 1 to UBound(a) : ? a(i) :'Next i

 

Watch

, Watch . () , Watch, . , Watch .

Watch : Break When Value Changes ( ) Break When Value Is True (, true). , ( ) Add Watch. , , Expression , , Break When Value Changes Watch Type. , true, Expression Break When Value Is True. , , Watch, , .

, , Visual C++, , , . .

() Watch. , Visual Basic "" , . Immediate, IDE (cut), . Watch, Watch Edit Watch () .

, Watch. Value. , Locals, IDE Visual Basic , . .

Watch , , , Err.Description. , , "" . , Watch command, , ( Make Project Properties). , , VB IDE , "" , ( , ).

 

, , , .

Run To Cursor Debug

Visual C++, Visual Basic . Run To Cursor <Ctrl>+<F8>, , Debug. Command Customize Debug Run To Cursor Debug.

Visual Basic 6 , Run To Cursor , Run To Cursor "Step To Cursor" ( ). (. . Run To Cursor). " ".

 

Compile On Demand

VB IDE , , . , , "" , , . , , , , . , .

- , Start With Fall Compile, Debug. Compile On Demand General Options. , , , , .

 

Visual Basic 5 . ActiveX- - ( , Visual Basic) . , - DLL. TESTER.VBG ( 13) -.

( "- Visual Basic" ), Visual Basic --. +- (Component Services) Visual Basic, Visual Basic Visual C++.

1 , READMEVB.HTM Visual Basic 6, Visual Studio. "Building and Debugging MTS Components in Visual Basic 6" ( 82- Visual Basic 6) , , . + MSDN Platform SDK: "Debugging Components Written in Visual Basic" ( , Visual Basic) "+ Visual Basic Debugging Support Contrasted with MTS" ( Visual Basic- COM+ MTS).

  ( . Component Services applications). .

 MTS Microsoft Transaction Server. .

- -, SoftICE, Visual C++. Visual Basic , , , . , - + ( VB-).

 

, Visual Basic. Visual Basic , , , - , . , ( , ). Immediate Watch. Visual Basic, , .

, Visual Basic ; , . Visual Basic Windows- , - . , VB- .

        3GL   4GL   5GL  

, - - :
- - ;
- (obj) (dll).




 10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _.
10.11.2021 - 12:36: - Conscience -> . ? - _.
10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _.
10.11.2021 - 12:35: - Ecology -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> . - _.
10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _.
10.11.2021 - 09:18: - New Technologies -> , 5G- - _.
10.11.2021 - 09:18: - Ecology -> - _.
10.11.2021 - 09:16: - Ecology -> - _.
10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _.
10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _.
Bourabai Research -  XXI Bourabai Research Institution