Поделиться через


Native, Debugging, Options Dialog Box

To access the Native page, click the Tools menu and select Options. In the Options dialog box, expand the Debugging node and select Native. This page allows you to set the following options for debugging native applications.

  • Load DLL exports
    When selected, loads DLL export tables. Symbolic information from DLL export tables can be useful if you are working with Windows messages, Windows procedures (WindowProcs), COM objects, or marshaling, or any DLL for which you do not have symbols. Reading DLL export information involves some overhead. Therefore, this capability is turned off by default.

    To see what symbols are available in the export table of a DLL, use dumpbin /exports. Symbols are available for any 32-bit system DLL. By reading the dumpbin /exports output, you can see the exact function name, including non-alphanumeric characters. This is useful for setting a breakpoint on a function. Function names from DLL export tables might appear truncated elsewhere in the debugger. The calls are listed in the calling order, with the current function (the most deeply nested) at the top. For more information, see dumpbin /exports.

  • Enable RPC debugging
    When selected, enables you to step into COM remote procedure calls when you debug.

    RPC stepping requires that you be logged in as Administrator or Power User. If you are logged in as a typical user, RPC stepping will fail.

    RPC stepping into a remote server that is running Microsoft Windows Vista will work only if a native debugger is attached to the remote server process. Otherwise, the RPC call will fail without an error message. Otherwise the RPC call will complete, but the step-into the RPC call will not work.

See Also

Tasks

How to: Specify Debugger Settings

Reference

Debugging, Options Dialog Box