[SDL] Debugging with SDL using Dev-C++

Carlos Vergara adestra at gmail.com
Wed Nov 26 04:24:42 PST 2008


Oh, then I must somehow make my window be shown while I'm debugging to avoid
problems when rendering... Thanks!!

2008/11/26 Alberto Luaces <aluaces at udc.es>

> El Martes 25 Noviembre 2008ES 18:28:22 Carlos Vergara escribió:
> > Hello
> > But my question still stands, is there any way to debug a program made
> with
> > SDL?
>
> Yes of course. One problem is that if you have a breakpoint and change to
> the
> debugging window, it will overlap your application. Since your program is
> stopped, it can't render the window again. If you can't live with this, a
> very useful setup is to install another monitor, so your application runs
> in
> one and doesn't get erased while you use the debugging window on the other.
>
> > 2008/11/23 jianhua zhou <jianhuazhou.bupt at gmail.com>
> >
> > > Hello Carlos,
> > > I had also use DevCPP to run SDL application and I found that after
> > > entering into the SDL event loop you will never see the SDL window. It
> > > seems no good idea about that. You can not watch what's in the windows
> > > when debugging.
> > >
> > > Eric
> > >
> > >
> > >
> > > 2008/11/23 Carlos Vergara <adestra at gmail.com>
> > >
> > >>  Hello everyone. I'm new at the list. I'm learning how to use SDL with
> > >> C++ to develop games. Nice to meet you all.
> > >>
> > >> I have a question. I don't know if it's been asked before, and I don't
> > >> know where to look. I need to do some debug using Dev-C++ (and
> > >> preferably I won't change my IDE). But, the program calls to
> SDL_Init()
> > >> and even when the window is shown and the debug continues normally, I
> > >> can't see the content of the window. Thus, I can't debug correctly and
> I
> > >> can't do anything regarding the event input.
> > >>
> > >> Any suggestions? Thanks in advance
> > >>
> > >> --
> > >> Carlos Antonio Vergara Padilla
> > >> Ingeniería Civil en Computación e Informática
> > >> UNAP
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



-- 
Carlos Antonio Vergara Padilla
Ingeniería Civil en Computación e Informática
UNAP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20081126/2d5b39bc/attachment.htm>


More information about the SDL mailing list