PRB: Error "Could not load debuggee. File not found (2)"

ID: Q125616

1.00 1.50 1.51 1.52 WINDOWS kbtool kbprb

The information in this article applies to:

SYMPTOMS

When you load an application into the debugger, the following error message appears:

   Could not load debuggee. File not found (2).

CAUSE

The error message occurs when some file(s) needed for the application to be debugged (debuggee) can not be found at load time. For example, if the application requires a DLL and the DLL is not in your current working directory or any of the directories on your PATH, the debugger displays the error message.

It is actually Windows that fails to load the application on behalf of the debugger. The (2) is the return code from LoadModule().

RESOLUTION

To allow the debugger to find the files, either:

Additional reference words: 1.00 1.50 1.51 1.52 KBCategory: kbtool kbprb KBSubcategory: WBDebug
Keywords          : kb16bitonly kbDebug kbide 
Version           : 1.00 1.50 1.51 1.52
Platform          : WINDOWS

Last Reviewed: July 21, 1997