I have a program that crashes on startup, the error message appears in the console,
but the console disappears in 1 second so I cant read it.
How do I redirect debug messages to the Lazarus IDE?
I have a program that crashes on startup, the error message appears in the console,
but the console disappears in 1 second so I cant read it.
How do I redirect debug messages to the Lazarus IDE?
Best option maybe is putting a breakpoint at the start of program and continue line by line. Also make sure you have all necessary debug information set in compilation options. Optimizations may reduce debug ability.
I got the breakpoints window up and right-clicked it
I chose ADD but the 'source' option was greyed out.
hmm now the console stays open,
I have to manually end the GDB process in task manager
Last edited by slenkar; 23-11-2010 at 02:18 PM.
Bookmarks