Debug problem

Hi all

I’m new to this list, so I don’t know if my problem has been discussed before. I have checked the archive though, but couldn’t find any.

The thing is this, I’m devloping an OpenGL application under Linux (with SDL of course), which works just fine. The poroblem is that when I try to debug my application (with gdb) it always crashes on the SDL_Init() call. Has anyone else had this happening?

/Andre

Hi all

The thing is this, I’m devloping an OpenGL application under Linux
(with SDL of course), which works just fine. The poroblem is that when I
try to debug my application (with gdb) it always crashes on the
SDL_Init() call. Has anyone else had this happening?

Maybe you should enable SDL_INIT_NOPARACHUTE (i am not sure if this names
fits but it is something like this) if it doesn’t help it at least help’s
you to have core and i am sure that you will not expierience same problem
using gdb on core. (if you have some odd distribution take care of
ulimit -c if it is too small you will not have core)
K.