Exporting the Macro

If you want to share macros, you can export a macro from your IDE and another developer can import that macro into their IDE. This section introduces a pair of macros that allow you to enable or disable all breakpoints with a single macro command; these macros will be used to demonstrate exporting and importing macros. First let's introduce and review the new macros.

Macros for Enabling and Disabling Breakpoints

You can set breakpoints by clicking in the left margin of the code editor. You can right-click a breakpoint to modify its properties (see Figure 4.5) and set break conditions or modify the hit count. The hit count determines whether the breakpoint suspends execution every time or breaks based on some other rule (for ...

Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.