Debugging Business Functions Attached to Interactive Applications

To debug a business function attached to an interactive application:

  1. Close the application.

    The application must be closed to debug in Visual C++.

  2. Open Visual C++ and verify that all work spaces have been closed.

  3. Select File, Open.

  4. Select List Files of Type to accept executables (.exe).

  5. Select activConsole.exe on path \b9\System\bin32 and click the OK button.

    The system creates a project work space.

  6. Select Project, Settings.

  7. Click the Debug tab.

  8. In the Category list, select Additional DLLs.

  9. Click the Browse button to select the CALLBSFN.dll (which must be built in debug mode) or other appropriate DLL on path \b9\path\bin32, where path varies, depending on the path code.

  10. Click the OK button.

  11. Select the .h and .c files for the source that you want to debug from and then select File, Open.

  12. To set breakpoints in the code, select Edit, Breakpoints.

    If this message appears, click the OK button:

    cannot open *.pdb 
    

    If a message appears notifying you that breakpoints have been moved to the next valid lines, a source code and object mismatch might exist, and you might need to rebuild the business function.

  13. Select Build, Start Debug, Go.

    The JD Edwards EnterpriseOne sign-in window appears.

  14. Sign in to the application as you normally would sign in.

  15. Run the application.

    When the application reaches the business function in debug, the debugger opens or displays the C code in Visual C so that you can step through it.