Recent

Author Topic: Debugging in windows freezes computer  (Read 11964 times)

Zomis

  • Jr. Member
  • **
  • Posts: 95
Debugging in windows freezes computer
« on: November 17, 2006, 11:33:10 am »
When I try to Debug (by placing breakpoints, or when an exception has been raised by my program) in Windows my computer gets freezed and only switching off the power gives me control of it again.

What to do about this? Since it gets freezed, I can't look at the Lazarus console window to see any information

My Debugger is set to:
GNU debugger (gdb)
c:\lazarus\mingw\bin\gdb.exe

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
RE: Debugging in windows freezes computer
« Reply #1 on: November 21, 2006, 01:03:16 pm »
what version of windows ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Zomis

  • Jr. Member
  • **
  • Posts: 95
RE: Debugging in windows freezes computer
« Reply #2 on: November 21, 2006, 02:57:06 pm »
Windows XP Professional, I think it's Second Edition...

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Debugging in windows freezes computer
« Reply #3 on: November 21, 2006, 10:35:02 pm »
Can you try debugging your software using gdb directly? put GDB on your PATH, and go to the command line (also called DOS Prompt). Next execute:

gdb myexecutable.exe

> break FPC_RAISEEXCEPTION
> run

If this doesn´t work, then it´s a problem on GNU Debugger with your system.

 

TinyPortal © 2005-2018