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
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 > 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
Hello
But my question still stands, is there any way to debug a program made with
SDL?
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 <@Carlos_Vergara>
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
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
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
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
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 > 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 <@Carlos_Vergara>
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