gdb working 50% of the time, or isn't breaking

Discussion in 'Linux' started by Pr3acher, Dec 27, 2013.

  1. Pr3acher

    Pr3acher MDL Member

    Aug 24, 2012
    143
    48
    10
    Hi guys,
    it's been some days now i'm having troubles with gdb. It works half the time, i mean, sometime i'm lucky and it break and does everything correctly, but sometimes, it won't break, and the debuggee (not a protection since it's my prog) exits once i enter 'run' in gdb. It won't even stop on a scanf() or getchar() or whatever. I'm wondering how all this sh** is possible.
    Btw i'm using arch x64.

    Thanks =)