Post by c***@my-deja.comEvery time I restart a debug session, I lost all the breakpoints. Is
there a way to make it presist?
I'm not sure about breakpoints set using GUI, but 'bu' breakpoints
are saved in windbg workspace.
I mostly use kd/cdb which don't have workspaces. If I need to
preserve breakpoints across sessions, I use the .bpcmds
command to list all breakpoint commands and then paste
the output into the new session. As of now .bpcmds seems
undocumented, so the usual disclaimers apply - use at your
own risk, no promise it will be supported in the future, etc.
--
This posting is provided "AS IS" with no warranties, and confers no
rights.