Edit and Continue: execute your code

Build 1501 on 14/Nov/2017  This topic last edited on: 13/Sep/2015, at 14:31

In this topic you will learn how to execute your code while in Edit and Continue mode in Visual Studio Express, while GN4 application is running (it was launched in the previous step Edit and Continue: select project to debug and launch GN4 application).

Here we will use the built-in script editor to run our test code.

Important: GN4 methods are context dependent, and it means they're are available only in appropriate context. As in this example we created a method in CustomArticle, the appropriate context to test it is while editing some text. See Add-ins and context for more information.

As in the first step, explained in Edit and Continue: preparing your method and adding breakpoint, we started to edit CustomArticle.vb, and created a method MyTest, it means we can test it only while editing some text.

Click to toggle expandTo execute your code