Anyway to stop at main while debugging ?

已回答

During gdb debug project I'd like to stop at entry point by default, is there any option like “stopAtEntry” of vscode does ?

0

Hello!

Sorry for the delay in response.

You can create a symbolic breakpoint https://www.jetbrains.com/help/clion/using-breakpoints.html#symbolic-breakpoints and set main in the "Symbol name" field.

0

请先登录再写评论。