3 ms·
Windbg version for conditional breakpoint should be: bp /w "x == 3" foo Windbg also supports full c++ expressions and even linq style list comprehension with t
by timbatron 5y ago
Windbg version for conditional breakpoint should be: bp /w "x == 3" foo
Windbg also supports full c++ expressions and even linq style list comprehension with the "dx" command (instead of the old "??" command). You can even extend that with Natvis or JavaScript. Windbg has a script window built in to help you write extensions. You can do regular scripting stuff as well as extending the type system. For instance, if you have some special type that you want to provide a visualization of, you can write it in js and then whenever you look at the data with dx it'll use your js visualization.
I'd give some examples of what you can do in windbg with that but I'm on my phone. But someone wrote a js extension that could extend the built in type system to include types from an arbitrary c++ header... Or do things like a query for the largest function in a program with a single line of code.