Debugging XLLs with Borland Turbo Debugger 3.1

ID: Q98779


The information in this article applies to:
  • Microsoft Excel Software Development Kit, version 4.0


SUMMARY

Borland Turbo Debugger (TDW) version 3.1 can be used to debug XLLs (dynamic- link libraries that export functions called by Microsoft Excel). To debug an XLL, use the following procedure:

  1. Start TDW.


  2. Load EXCEL.EXE (from the File menu, choose Open). TDW will display a dialog box containing this message:
    Program has no symbol table
    This message can be ignored. Choose OK to continue.


  3. From the View menu, choose the Module option.


  4. Enter the path and filename of the XLL to debug in the DLL Name edit box.


  5. Choose Yes for the Load Symbols and Debug Startup options.


  6. Select Add DLL, then Load.


  7. Press F9 to run Excel.


  8. From Excel, load the XLL.


  9. TDW will become active at this point. Choose Path For Source from the Options menu, and enter the source directory path for the XLL.


  10. Choose the Module option from the View menu, and select the desired source module.


  11. Insert breakpoints at desired locations.


  12. Press F9 to resume execution.



MORE INFORMATION

If this procedure is not followed and an attempt is made to load the XLL directly into TDW, the following error message will be displayed:

File Error

Cannot find EXCEL.DLL

Additional query words: 4.00

Keywords :
Version : :4.0
Platform :
Issue type :


Last Reviewed: November 11, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.