microsoft / WinDbg-Samples

Sample extensions, scripts, and API uses for WinDbg.
MIT License
719 stars 120 forks source link

Error loading CodeFlow extension #9

Closed john-soklaski closed 2 years ago

john-soklaski commented 5 years ago

I'm trying to load the CodeFlow.js extension using .scriptload, and I get this error: Error (0x80004005): Cannot modify debugger object model for 'functionAlias (dflow)'.

I am able to successfully load the ImageInfo.js extension in the same manner though.

john-soklaski commented 5 years ago

If I remove both of the functionAlias it will load successfully.

new host.functionAlias(__traceDataFlow, "dflow"),
new host.functionAlias(__disassembleCode, "dis")
aluhrs13 commented 5 years ago

Thanks John, we'll take a look at this. Can you share what debugger version you're using?

lzybkr commented 2 years ago

It seems like this is no longer an issue, so I'm closing the issue. Feel free to open a new issue if you see it again.