Visual COBOL uses the Visual Studio debug engine for debugging .NET COBOL applications.
Microsoft have included an enhanced .NET debug engine in recent versions of Visual Studio. Visual COBOL supports this new engine for .NET COBOL from Visual Studio 2017.
The older Visual Studio debug engine is still used with Visual COBOL 4.0 or older for versions of Visual Studio 2015 and earlier.
The new .NET debug engine in Visual Studio provides a number of features to use while debugging .NET COBOL such as:
For example: type System.Environment::GetEnvironmentVariable("PATH")::Split(';').
The new Visual Studio debug engine integrates directly with the COBOL compiler. This enables you to specify any valid COBOL expression to be specified when debugging. Visual Studio reports errors just the same as if the expression was coded directly in the COBOL source.
You can switch to using the older .NET debug engine as follows: