Recent

Author Topic: lazarus 0.9.22 window build problems with debugger  (Read 9407 times)

mikaelo

  • New Member
  • *
  • Posts: 18
lazarus 0.9.22 window build problems with debugger
« on: March 29, 2007, 03:45:58 pm »
Just downloaded the last version for windows and installed it.
When apps (even tried the empty default empty form project) are run from inside the IDE, they will segfault. The generated executable ran fine outside of the IDE.

So now I'm have to go back to 0.9.20 to be able to use debugger.

Mikael

mikaelo

  • New Member
  • *
  • Posts: 18
RE: lazarus 0.9.22 window build problems with debugger
« Reply #1 on: March 29, 2007, 04:23:01 pm »
Problem seem to be my windows XP development box. It don't seem to be compatible with lazarus as neither 0.9.20 nor 0.9.22 works on it.
Maybe I'll try is again an a few months to see if it's mature enough to be able to debug on windows.

Guess i'll just have to continue with delphi 7 on the windows side.

Thanks for a good effort.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus 0.9.22 window build problems with debugger
« Reply #2 on: March 29, 2007, 04:29:44 pm »
That is strange, because I use and develop lazarus on windows XP SP2 and dont'have such problems.

Where do they segfault? What happens when you continue?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2648
RE: lazarus 0.9.22 window build problems with debugger
« Reply #3 on: March 30, 2007, 09:55:15 am »
Do you have a manifest for your app ?
It is a known issue that the debugger might crash is a manifest is used.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus 0.9.22 window build problems with debugger
« Reply #4 on: March 30, 2007, 09:59:48 am »
But this doesn't happen always. Lazarus.exe has a manifest too, and I can debug that in Lazarus too.

pyrasoftware

  • Newbie
  • Posts: 1
Workaround for - lazarus 0.9.22 windows debugger problems
« Reply #5 on: May 13, 2007, 01:55:52 am »
Hopefully you might find the following useful, it is a workaround for the problem I've had with debugging within windows (and sound similar to the issue you have had)...

------------
Dialog Displayed - Error
Project  raised exception class 'External: SIGSEGV'
------------
Click 'OK'
------------
Dialog Displayed - Execution Paused

Adress: $7C918FEA
Procedure ntdll!RTLPWaitForCriticalSection
File:

(Some day an assembler window might popup here :)
------------
Click 'OK'
------------
Generate or remove a breakpoint - doesn't matter where (have tried in both a unit or the lpr file)  I tend to use the lpr file but either seem to work fine.
------------
Dialog Displayed - Execution Paused

Adress: $7C901231
Procedure ntdll!DbgUiConnectToDbg
File:

(Some day an assembler window might popup here :)
------------
Click 'OK'
------------
Unpause the application (toolbar or menu seems to work fine).
------------
It seems to work fine (for me at least) after this - debugging working as expected (though the project window does sometimes appear behind the form).

Kind Regards,
Steven Coombs

 

TinyPortal © 2005-2018