Well gdb is debugger for game or app to track their breakpoint,watchpoints in it but now days since 2019 most game and app uses PTrace in their apps which could their Anticheat, App or System Modification Protection what they actually see network or memory modification like you guys may have noticed who tries best things then me if some games are offline and onlines, but your save is in game , even you play offline but game doesn't ban your save or account until you connect you server , PTrace Actually Collects your Some of data when you collect reward after modification. Game Guardian Itself Bypass Protection.. if we don't use bypass PTrace in game .. they game probably Crashed when Editing. So, @Enyby Should add something similar to it , but developer are aware of this thing to be game guardian.
gdb is best but can't attach process if PTrace in game !