Wireshark-dev: [Wireshark-dev] Re: Preventing "optimized out" parameters while debugging

Date Prev · Date Next · Thread Prev · Thread Next
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sat, 31 Oct 2026 18:15:39 +0100
Thanks John, looking into this.
I stumbled upon this unresolved issue which discusses these pro’s and con’s: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102523
Apparently your success using -Og vs. -O0 can vary…

Thanks,
Jaap


On 31 Oct 2026, at 12:43, John Thacker <johnthacker@xxxxxxxxx> wrote:

We could add a preset or similar that adds "-Og" as another option.

John