News for hackers. Stuff that matters.
Re:Skipping Boring Functions in Debuggers by Conscat on Wednesday January 01, 2025 @07:57PM (#42570654)
You can also make your own functions skippable by default with either the `[[gnu::artificial]]` or (the newer and more generalized) `[[gnu::nodebug]]` in GCC and Clang.
Re:Skipping Boring Functions in Debuggers by kevingadd on Wednesday January 01, 2025 @08:51PM (#42570919)
In .NET the https://learn.microsoft.com/en-us/dotnet/api/system.diagnost... DebuggerStepThroughAttribute has a similar purpose (though it's ignored if you disable the relevant feature)
Re:Skipping Boring Functions in Debuggers by dataflow on Thursday January 02, 2025 @09:05AM (#42574493)
__declspec(non_user_code) for those wondering about MSVC