|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
About breakpoints in codeHi,
I would like to know, is there any add-in available that will let users see the "breakpoints" set in the VB 6 project code, in the previous run, to be visible, after opening the project again... Thanks, Parag. "Parag Mahajan" <para***@gmail.com> wrote in message I've never seen one. You can set permanent breakpoints that are fairly easy news:u8PKnm4gFHA.1480@TK2MSFTNGP10.phx.gbl... > Hi, > > I would like to know, is there any add-in available that will let users > see > the "breakpoints" set in the VB 6 project code, in the previous run, to be > visible, after opening the project again... > > Thanks, > Parag. to manage, using Debug.Assert '=======Module Code Option Explicit Public Const NO_BREAK As Boolean = True 'set = False if you want the break points. '=======Any place else.... Private Sub Command1_Click() Dim i As Integer For i = 1 To 10 Debug.Print i 'stops here if NO_BREAK = False. Has no effect on compiled app. Debug.Assert NO_BREAK Next End Sub '======= -- Ken Halter - MS-MVP-VB - http://www.vbsight.com DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Please keep all discussions in the groups..
Inputbox Question
VB6 app crashes on XP Subclassing Help Write Read to memory. Find Directory VB, SQL & Word Listview - Performance fine except when adding first item voice key - raising a "flag" when a voice input is recoeved. Code for time limiting a demonstration program New and annoying error message |
|||||||||||||||||||||||