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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.