[SDL] SDL and Win32 processes

Matthias Weigand weigole at gmx.de
Mon Oct 1 11:59:00 PDT 2007


Hi Roger,

i'm not sure if i got you right, so i will explain how i made some kind 
of debug console. In my case i wanted to have two separate processes, so 
that the debug console is not affected if my program crashes. I send the 
current stack trace via TCP socket to my debug console. This way you are 
also able to send commands or other data to your app.

I found this extremely useful to debug segmentation faults or other 
crashes in environments where the debugger is unavailable.

Hope it helps!
  Matthias


Roger wrote:
> Hi,
>
> I want to create an application where a piece of code associated with the SDL
> window runs continually, drawing the frame and processing input, whether it is
> the top window or not.  (Kind of like the way a game or emulator will continue
> running in the background, but in this I want it to be part of the same
> application.)
>
> I have a console window that I want to still be able to type into and debug the
> program with while it runs.  I'd like to be able to treat the background process
> like a callback that is executed once each new frame.  
>
> Does anyone have any advice on how it might be possible to do this?
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>   


More information about the SDL mailing list