开发者

Can you set a command for a breakpoint with !bpmd in a single line?

I'd like to run a command each time my breakpoint in managed code is hit, I know how to do it in three c开发者_StackOverflowommands. Can it be done in one?

The way to do it in three commands is

!bpmd system.web.dll xxxx; bl; bp yyyy "zzz; g;"

Where yyyy is the address of xxxx which is an output of 'bl'.


If you're trying to set command when bp hits then you could probably use !mbp or !mbm from sosex instead of using !bpmd

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜