Recent

Author Topic: Click Run twice before a project runs?  (Read 25045 times)

Hansaplast

  • Hero Member
  • *****
  • Posts: 783
  • Tweaking4All.com
    • Tweaking4All
Re: Click Run twice before a project runs?
« Reply #15 on: January 08, 2011, 05:39:12 pm »
I didn't have much time to go through the next steps, but I just wanted to report that the nightly build (2011-01-08) still has the "click run twice" bug.
The debugger going in error state is still there as well.

Since I'm not expert by any means, I reinstalled FPC and Lazarus from scratch, XCode is up to date (3.2.5), but the problem remains.

I'll try to recompile the IDE today with martin_fr's suggestions and see what happens ...

Hansaplast

  • Hero Member
  • *****
  • Posts: 783
  • Tweaking4All.com
    • Tweaking4All
Re: Click Run twice before a project runs?
« Reply #16 on: January 08, 2011, 06:17:58 pm »
Woohoo! I managed to find what is causing the debugger to stop and what makes it that I need to click run twice.

 :-[ My project is saved on a NTFS volume (I use Paragon NTFS for Mac, which works great for all other applications) which FPC/Lazarus/dbg do not seem to appreciate.

Thanks to Martin_fr, I did find an error message in de debug output stating that my volume doesn't exist (I really does exist! It's just NTFS). After moving the project to a Mac volume all works great.

Sorry everyone for the problems caused by this, but I hope this info in the end might help others as well :)

Note:
I use the NTFS volume to share data when using Bootcamp and booting into Windows - so I can share my sources across both platforms for recompiling.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Click Run twice before a project runs?
« Reply #17 on: January 08, 2011, 06:30:46 pm »
Here's what I get in the Console, repeated over and over:

1/8/11 12:28:48 PM   [0x0-0x7a07a].laz_svn[18164]   [TCmdLineDebugger.Getoutput] Error waiting
1/8/11 12:28:48 PM   [0x0-0x7a07a].laz_svn[18164]   Last mess
1/8/11 12:28:48 PM   [0x0-0x7a07a].laz_svn[18164]   age repeated 2 times: "[TCmdLineDebugger.Getoutput] Error waiting "
1/8/11 12:28:48 PM   [0x0-0x7a07a].laz_svn[18164]   Last message repeated 4 times: "[TCmdLineDebugger.Getoutput] Error waiting "
1/8/11 12:28:48 PM   [0x0-0x7a07a].laz_svn[18164]   Last message repeated 8 times: "[TCmdLineDebugger.Getoutput] Error waiting "
1/8/11 12:28:48 PM   [0x0-0x7a07a].laz_svn[18164]   Last message repeated 16 times: "[

Does this look familiar?

Updated both FPC 2.5.1 and Laz 0.9.30 fixes branch today.

Thanks.

-Phil

Hansaplast

  • Hero Member
  • *****
  • Posts: 783
  • Tweaking4All.com
    • Tweaking4All
Re: Click Run twice before a project runs?
« Reply #18 on: January 08, 2011, 07:22:22 pm »
Unfortunately no, it doesn't look familiar  :-\

I attached the debugger output for the 1st and 2nd click from before I moved my project to the MacOS filesystem volume.

dbg seems to be unable to recognize the [NTFS] volume all together ...  :(

Note that I do use Paragon NTFS for Mac, so all other applications seem to see this Volume as if it's a normal Mac volume (read/write).

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Click Run twice before a project runs?
« Reply #19 on: January 08, 2011, 07:25:03 pm »
You should probably file a bug report about NTFS so it's not lost.

Thanks.

-Phil

WILL

  • New Member
  • *
  • Posts: 19
    • Pascal Game Development
Re: Click Run twice before a project runs?
« Reply #20 on: January 09, 2011, 04:11:27 am »
I've been having similar, but more severe issues related to the GDB debugger for the up-coming 0.9.30 release of Lazarus.

It would seem that the 0.9.29 (Date: 2011-01-02 SVN Revision: 28855) version of Lazarus will give out a Debugger crashing error from any of my saved projects. I don't use an NTFS partition, instead I only use the same drive that Snow Leopard is installed to. Half of the time however when I click on the Run button, it'll actually run the program, while the other half I only get the error. The program always compiles successfully.

I have just found out a way NOT to get the error. If your last open project was deleted after Lazarus was closed and you open Lazarus, it'll create a non-saved default program that is open and can be compiled. When I hit the 'Run' button then I DON'T get a debugger error.

By this, I'm lead to believe that somehow GDB is also disturbed not only by NTFS, but by Mac's own file system as well.

My system's specs are as follows:

Intel iMac running Mac OS X 10.6.6
4 GB RAM with 1 TB solid state hard drive
Latest Apple's Developer SDK (Xcode version 3.2.5 1760)

The version of Lazarus & FPC is:

Lazarus version 0.9.29
Date: 2011-01-02
SVN Revision: 28855
i386-darwin-carbon

FPC Version 2.4.2
PGD - The home of Pascal Game Development
Formerly DGDev & DelphiGamer

Checkout Pascal Gamer Magazine!

Hansaplast

  • Hero Member
  • *****
  • Posts: 783
  • Tweaking4All.com
    • Tweaking4All
Re: Click Run twice before a project runs?
« Reply #21 on: January 09, 2011, 09:31:23 pm »
You should probably file a bug report about NTFS so it's not lost.

I'll do that, first I'll have to figure out how to submit a bug :)
(I'll do some searching first before asking for help)

typo

  • Hero Member
  • *****
  • Posts: 3051

WILL

  • New Member
  • *
  • Posts: 19
    • Pascal Game Development
Re: Click Run twice before a project runs?
« Reply #23 on: January 09, 2011, 10:16:05 pm »
Just be careful with what options to fill in to Mantis. I believe if you check off "developer" it'll start giving you every single update to every single ticket for Lazarus from here to kingdom come. Made that mistake once and it killed an email account of mine. :o
PGD - The home of Pascal Game Development
Formerly DGDev & DelphiGamer

Checkout Pascal Gamer Magazine!

Hansaplast

  • Hero Member
  • *****
  • Posts: 783
  • Tweaking4All.com
    • Tweaking4All
Re: Click Run twice before a project runs?
« Reply #24 on: January 09, 2011, 11:46:41 pm »
Thanks Will and Typo for the headstart :)
I've been staring at the form to report for a while now and am not sure what to enter.
I'll just snoop around and try to learn what to do :)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12410
  • Debugger - SynEdit - and more
    • wiki
Re: Click Run twice before a project runs?
« Reply #25 on: January 09, 2011, 11:59:21 pm »
make sure you do NOT use the advanced form ..... (link in upper right )

Hansaplast

  • Hero Member
  • *****
  • Posts: 783
  • Tweaking4All.com
    • Tweaking4All
Re: Click Run twice before a project runs?
« Reply #26 on: January 10, 2011, 12:02:48 am »
well, thanks to all the tips, I think I submitted the bug properly ... :)
#0018457  8)

 

TinyPortal © 2005-2018