On Mon, 2021-10-11 at 19:15 +0000, Nick Savoiu wrote: > Hmm, but if I need all these workarounds, the promise of -Og is > unfulfilled. I think there is no way to produce a "fast and debuggable" binary unless there is some major progress on computer architectures. If you are working on a serious software project, you should implement and/or use a logging facility for debugging, instead of solely relying on the debugger. For one-file programs (for e.g. in competitions) -O0 -g is usually enough for debugging. -- Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University