MarkVo Absent Member.
Absent Member.
771 views

Debugging in Visual Studio 2017 (Enterprise Developer 3.0)

Jump to solution

I recently installed Visual Studio 2017 and Microfocus Enterprise Developer 3.0.

When debugging our application, which is a managed application (mixture of C# and Cobol compiled for .NET), I can't see the values of Cobol data items. The error message I get is: error CS0103: The name 'AFD2' does not exist in the current context.

To be clear, the results of the run are 100% correct, so it's seems to be a debugging issue exclusively.

I suspect that I have a wrong setting somewhere.

Kind regards,

Mark de Vos

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Debugging in Visual Studio 2017 (Enterprise Developer 3.0)

Jump to solution
Mark,

If you go to the Tools menu, select Options... then go to Debugging -> General and find the option named 'Use Managed Compatibility Mode'. If you check that option you should then be able to query the values of your COBOL data items.

Gael
2 Replies
Micro Focus Expert
Micro Focus Expert

RE: Debugging in Visual Studio 2017 (Enterprise Developer 3.0)

Jump to solution

This is the Visual COBOL forum. You should instead post your question at the Enterprise Developer forum

–Ғɑɳօ
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Debugging in Visual Studio 2017 (Enterprise Developer 3.0)

Jump to solution
Mark,

If you go to the Tools menu, select Options... then go to Debugging -> General and find the option named 'Use Managed Compatibility Mode'. If you check that option you should then be able to query the values of your COBOL data items.

Gael
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.