why bp main failed? how to list source code as gdb's list command does?
this question is not the same as CDB command for setting a breakpoint based on a line number
seems cdb can be used with windbg, but is that possible to use cdb a bit similar to gdb?
cdb allows 3 different commands to set breakpoints: bp, bm, and bu
To Set a breakpoint at main we can guess Image00390000 is actually hello.exe (Sometimes cdb fails to recover the name you would expect). You can use the command:
This assumes that main really is the symbol name, and that symbols are loaded. You can use: