Microsoft KB Archive/98779

= Debugging XLLs with Borland Turbo Debugger 3.1 =

Article ID: 98779

Article Last Modified on 9/25/2003

-

APPLIES TO


 * Microsoft Excel Software Development Kit 4.0

-



This article was previously published under Q98779



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.</li> From Excel, load the XLL.</li> TDW will become active at this point. Choose Path For Source from the Options menu, and enter the source directory path for the XLL.</li> Choose the Module option from the View menu, and select the desired source module.</li> Insert breakpoints at desired locations.</li> Press F9 to resume execution.</li></ol>

<div class="moreinformation_section">

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: KB98779

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.