c# - Does mdbg support conditional breakpoints? -


i debugging "hello world" program written in c# using mdgb, seems gdb-style conditional breakpoints failed set in mdbg, e.g.

  [p#:0, t#:0] mdbg> when 1 sum>100   error: invalid command syntax 

todo: fixme image

this when related syntax, still don't know how setup conditional breakpoint in mdbg, althoug read mdbg documenation [msdn]

todo: fixme image

so cond 1 sum>100 in mdbg?

how set breakpoint conditionally?

edit 1 @thomasweller when clause correct in syntax, seems it's not conditional breakpoint, since g hit breakpoint again, , when clause not works, if works, g should break when sum larger 100, in fact g breaks when sum 1, far smaller 100 :(

edit 2 when breakpointhit 1 echo sum>100 not works

conditional breakpoints aren't supported. if really serious getting conditional breakpoints in mdbg download source , add feature: http://www.microsoft.com/en-us/download/details.aspx?id=2282

alternatively grab free version of visual studio supports conditional breakpoints.