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:
- Start TDW.
- 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.
- From the View menu, choose the Module option.
- Enter the path and filename of the XLL to debug in the DLL Name
edit box.
- Choose Yes for the Load Symbols and Debug Startup options.
- Select Add DLL, then Load.
- Press F9 to run Excel.
- From Excel, load the XLL.
- TDW will become active at this point. Choose Path For Source from
the Options menu, and enter the source directory path for the XLL.
- Choose the Module option from the View menu, and select the
desired source module.
- Insert breakpoints at desired locations.
- 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 :