Recent

Author Topic: Lazarus & Debugger oops etc  (Read 86040 times)

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Lazarus & Debugger oops etc
« on: September 08, 2009, 09:27:41 am »
I have setup a new version of Lazarus.

Problems now are.
2 Icons in the Dock.
1. that I placed after the new install.
When I click on it to run the program I then get 2 Icons.

2. I have tested many examples plus my applications and each time I do a RUN up comes
Debugger error Ooops the debugger entered ....

It is not specific to any program or packages.

The program does however compile Ok if I build.
The resultant program is fine.
Not so good for debugging any errors (and I have a few)

Tom


freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Lazarus & Debugger oops etc
« Reply #1 on: September 08, 2009, 09:29:33 am »
Forgot to add

Version 0.9.27 beta
12-8-09
FPC 2.2.4
SVN 21182
I386-darwin-carbon (beta)

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Lazarus & Debugger oops etc
« Reply #2 on: September 08, 2009, 03:31:21 pm »
Have tested some of my application on a new Mac.
The older program DO work.
However any new programs compiled will nOT work.
As a test I compiled Address_book from the examples folder.
On this new Macbook Pro I get an error. This application addrbook quit unexpectedtly.

Their is something very wrong with my Lazarus install.
I have through the un-install procedure.
Deleted all files from Developer/lazarus and Lazarus from the Applications folder.

I used a Daily snapshot as well to test and had the same error.

Without re-installing Leopard from scratch what can I do.

This is serious for me.

I only wish I new more on how a Mac works.

Tom

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Re: Lazarus & Debugger oops etc
« Reply #3 on: September 28, 2009, 08:37:50 am »
can you post the output of the debug oputput window ? The oops is usually caused by som unexpected response form gdb.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Lazarus & Debugger oops etc
« Reply #4 on: September 29, 2009, 12:17:12 am »
This is one that I did a week or so ago.
It was posted on another thread.

Tom

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Re: Lazarus & Debugger oops etc
« Reply #5 on: September 30, 2009, 12:29:07 pm »
I guess it got confused from the output of "info program"

Can you bugrep this and attach the output ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Lazarus & Debugger oops etc
« Reply #6 on: September 30, 2009, 11:48:37 pm »
Sorry to be a pain but what is a bugrep file?
AND how do I produce one.

Tom

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Lazarus & Debugger oops etc
« Reply #7 on: October 01, 2009, 12:04:18 am »
Sorry to be a pain but what is a bugrep file?
AND how do I produce one.

If I understand correctly, Marc wanted you to create a bug report here: http://bugs.reepascal.org/
and attach the above output to it.

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Lazarus & Debugger oops etc
« Reply #8 on: October 01, 2009, 11:51:32 pm »
A bug reprt was entered on the 14/9/09 no 0014588

Tom

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: Lazarus & Debugger oops etc
« Reply #9 on: October 07, 2009, 04:37:20 pm »
I've got the same problem after installing OSX 10.6.1.  Everytime I run the debugger fails.

0.9.27

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: Lazarus & Debugger oops etc
« Reply #10 on: October 07, 2009, 10:00:24 pm »
A bug reprt was entered on the 14/9/09 no 0014588

Tom
Tom:
It's been about 3 weeks since this bug report went in.  Have you rolled back to 10.5 in the meanwhile?  Trying to figure out what to do to keep my project moving forward.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Lazarus & Debugger oops etc
« Reply #11 on: October 07, 2009, 10:15:29 pm »
It's been about 3 weeks since this bug report went in.  Have you rolled back to 10.5 in the meanwhile?  Trying to figure out what to do to keep my project moving forward.
The bug has been reported. Marc is currently busy with other tasks, so he can't fix Mac OS X debugger.
You can Monitor the reported issue, so you're informed (via email) about any changes made.


To go on development, you need to switch the debugger off, and use other methods for debugging.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus & Debugger oops etc
« Reply #12 on: October 07, 2009, 10:32:20 pm »
Maybe you can try to use dwarf debug info instead of stabs. (-gw compiler option)

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: Lazarus & Debugger oops etc
« Reply #13 on: October 08, 2009, 02:33:33 am »
If I switch the debugger off I get the following error:

Exception while creating process:  Executable not found: "xterm"

I get the same message with dwarf (-gw) setting and with debugger on. 

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
Re: Lazarus & Debugger oops etc
« Reply #14 on: October 08, 2009, 11:39:05 am »
In Run - Run parameters, uncheck: Use launching application
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018