Re: Window Appears Briefly Then Disappears

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi

A useful debug tool is the console. You want to find where the program gets to before crunching out.

Put a
puts(1, "Got here\n")
at various points in the program, and it will print it to the console when it gets there. Obviously if it doen't get there, you won't see it.

You can also use
? asequence

or
printf(1, "%s, %d\n", {astring, anumber} )
to print out some values

These will appear in a console window (possibly behind your main window - check the taskbar)

When an Eu progrom crashes in the middle of a dll call, you won't get an error message, and sometimes it's useful to find which call is causing the issue.

also have you tried replacing
whiel not wndowshouldclose() do with while 1 do ?

Cheers

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu