Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to save breakpoint in visual basic 6

How can I save my breakpoints in Visual Basic 6? Are there any add-ins? For now I have MZ-Tools, but unfortunately they don't save breakpoints.

like image 791
Rookian Avatar asked Aug 17 '10 11:08

Rookian


People also ask

How do I save breakpoints in Visual Studio?

To save the breakpoints, you just need to click on the “Export” button in breakpoint window as shown in the following figure. You can use the saved XML file for the future and you can pass the same to other developers. You can also save breakpoints based on the search on labels.

How do you keep breakpoints?

To set a breakpoint in source code, click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint.

How do I add a breakpoint to all methods in visual studio?

Press F3 and then press F9 to add a breakpoint.


3 Answers

I'm not sure about third party tools, but you could always use:

Debug.Assert False

Just remember to remove it when you're done.

like image 186
Paul Michaels Avatar answered Oct 03 '22 15:10

Paul Michaels


Here is a nice VB6 add-in to save breakpoints on exit. http://www.darinhiggins.com/bookmarksave-addin-for-vb6

like image 20
JBates Avatar answered Oct 03 '22 16:10

JBates


This is what the Stop statement does, i.e. act as a persistent unconditional breakpoint.

like image 27
Bob77 Avatar answered Oct 03 '22 15:10

Bob77