Ted Middleton
Ted Middleton

Reputation: 7284

cdb commands in Visual Studio debugger, like WinDbg?

Does anyone know whether Visual Studio's debugger has a cdb command console so that I could input commands like in WinDbg? Eclipse has a command console where you can issue commands to gdb, and Xcode has a command console where you can issue commands to lldb, but I can't find anything like this in Visual Studio.

Just to be a bit more specific, I'd like to be able to execute things like .reload or X *!*some_symbol* like you can in WinDbg/cdb.

Upvotes: 0

Views: 1256

Answers (1)

blabb
blabb

Reputation: 9007

There's the command window:

View -> Other Windows -> Command Window

The keyboard shortcut is Ctrl+Alt+A.

I dont think x or .reload is available as Visual Studio autoloads all symbols by default.

For a list of predefined aliases type alias in the Command Window and take a look.

Debug.modules
select module with symbol problem -> right click context menu ->symbol xxx

should show what is the problem with symbol load (same as windbg !sym noisy output) you can also force load all symbols with Debug.OptionsAndSettings -> debug -> symbols -> load all symbols set the cache to _NT_SYMBOL_PATH srv folder so that it downloads the neccesary pdbs if required

Upvotes: 1

Related Questions