Recent

Author Topic: 64-bit debugger fails  (Read 14364 times)

reinerr

  • New Member
  • *
  • Posts: 37
64-bit debugger fails
« on: May 20, 2011, 09:11:25 am »
Running on Windows 7 64-bit, downloaded and installed 64-bit versions of Lazarus & FPC. Ran Lazarus and created a new project with an empty form. Ran the thing - it compiled and built the exe but after 3 or 4 seconds I get a Debugger error with the message Ooops, the debugger entered the error state Save your work now ! Hit Stop, and hope the best, we're pulling the plug.

If I run the exe that was just compiled it runs fine - just not the debugger. Any solutions?

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: 64-bit debugger fails
« Reply #1 on: May 20, 2011, 09:38:00 am »
Take a look at this topic:
http://www.lazarus.freepascal.org/index.php/topic,12523.0.html

It turns out that the solution is to install 32-bit lazarus for development and 64-bit lazarus only to compile final 64-bit executeable.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki

juandelacruz

  • New Member
  • *
  • Posts: 17
Re: 64-bit debugger fails
« Reply #3 on: May 20, 2011, 05:10:39 pm »
Your problem sounds similar to mine.  I was able to solve it by using the -WB00400000 compiler option.  Put it in Compiler Options -> Other -> Custom Options.  HTH.

I'm using 64-bit Lazarus 0.9.30 and Windows 7.

reinerr

  • New Member
  • *
  • Posts: 37
Re: 64-bit debugger fails
« Reply #4 on: May 23, 2011, 01:06:34 am »
-WB00400000 [.. Project Options ->] Compiler Options -> Other -> Custom Options.

This worked - thanks.

 

TinyPortal © 2005-2018