Results 1 to 4 of 4

Thread: debug messages appear in console only

  1. #1

    debug messages appear in console only

    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?

  2. #2
    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.

  3. #3
    I got the breakpoints window up and right-clicked it
    I chose ADD but the 'source' option was greyed out.

  4. #4
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •