Skip to main content

Unable to debug C and COBOL programs at the same time -- why?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Unable to debug C and COBOL programs at the same time -- why?

Resolution:

This is expected as you can only use on hard mode/low-level debugger at a time in Windows.  Both Visual Studio and Net Express use the low-level debugging support i.e. they conflict.

Your options to get around this are:

1) Debug the C in Visual Studio and run the COBOL.

2) Run the C from Net Express (Animate Settings) and debug the COBOL.

3) Run the C from the command line and use CBL_DEBUGBREAK.

Alternatively, you could switch to .NET where you can have the C and COBOL mixed together within Visual Studio as managed code.

Old KB# 5823

0 replies

Be the first to reply!