microsoft / DbgShell

A PowerShell front-end for the Windows debugger engine.
MIT License
675 stars 89 forks source link

Fix bp with just an address #100

Open jazzdelightsme opened 3 years ago

jazzdelightsme commented 3 years ago

Set-DbgBreakpoint with just a simple address (like "bp $exentry") was broken, because PS could not resolve the parameter set.

This change fixes it by specifying more completely the possible valid parameter sets.

(thanks to ReneNyffenegger for the report)