Problem:
If it is desired to debug .NET code (C# or VB .NET) that is invoked from an unmanaged COBOL program, please try the following:
In the Visual Studio .NET Project Properties menu, select Configuration Properties, Debugging. Make sure that "Enable Unmanaged Debugging" is set to true and that "Start Application" specifies the name of the COBOL executable (or the runw.exe trigger program if using .int or .gnt code). The "Debug Mode" property should be "Program". When debugging, the COBOL program should run and execution should stop at the breakpoint you set in the .NET code.
Resolution:
If it is necessary to debug .NET code (C# or VB .NET) that is invoked from an unmanaged COBOL program, please try the following:
In the Visual Studio .NET Project Properties menu, select Configuration Properties, Debugging. Make sure that "Enable Unmanaged Debugging" is set to true and that "Start Application" specifies the name of the COBOL executable (or the runw.exe trigger program if using .int or .gnt code). The "Debug Mode" property should be "Program". When debugging, the COBOL program should run and execution should stop at the breakpoint you set in the .NET code.