Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-14 Thread Dominique Louis

Hi Marc,
  When I set a break point it says
TGDBMIDebugger.ProcessResult Error : ,msg=No source file named My_Form.pas

When I try and debug it has various IDE messages then says
[TDebugManager.DoInitDebugger]A
[WARNING] TGDBMIDebugger : ExecuteCommand -gdb-exit failed.
[TCmdLineDebugger] Debug PID : 20549

At which point the --arch messagebox I mentioned earlier pops up.

When I ok that message box the debug window thens says
TGDBMIDebugger.ProcessResult Error : ,msg=No symbol table is loaded. 
Use the file command.

[Debugger]Running GDB version: Apple version gbd=696

The it comes up with other messages about not find the *.lpr file.

Is there more information required?

Dominique.


Marc Weustink wrote:

Dominique Louis wrote:

Hi Matt,
  the version returned is 6.3.50-20050815 ( Apple version gdb696)


funny, I've: GNU gdb 6.3.50-20050815 (Apple version gdb-573)

I think yours should work too

Can you send the output of the debug-debug output window ?

Marc



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-12 Thread Dominique Louis

Hi Matt,
  the version returned is 6.3.50-20050815 ( Apple version gdb696)

Dominique.

Matt Henley wrote:

gdb --version

works on my linux box

On Nov 11, 2007 5:17 PM, Dominique Louis
[EMAIL PROTECTED] wrote:

Marc Weustink wrote:

What gdb version are you using ?


No Idea, how can I tell?



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-12 Thread Marc Weustink

Dominique Louis wrote:

Hi Matt,
  the version returned is 6.3.50-20050815 ( Apple version gdb696)


funny, I've: GNU gdb 6.3.50-20050815 (Apple version gdb-573)

I think yours should work too

Can you send the output of the debug-debug output window ?

Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Dominique Louis

Hi all,
  What is the correct way to debug under Lazarus. I have the current 
settings in Environment-Debugger Options-General ( tab )..

Debugger type and path = GNU debugger (gdb)
path = /usr/bin/gdb

If I set a break point and run the application from within the IDE I get..
Initialization output:
\nwarning: 
--arch option not supported in this gdb.\n

If I click ok on that I then get
Debugger error
Oooops, the debugger entered the error state
Save your work now!

Hit Stop, and hope the best, we're pulling the plug.


Where is this --arch option being set and is there something else I need 
to do to be able to debug on Mac OS X.



Dominique.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Marc Weustink

Dominique Louis wrote:

Hi all,
  What is the correct way to debug under Lazarus. I have the current 
settings in Environment-Debugger Options-General ( tab )..

Debugger type and path = GNU debugger (gdb)
path = /usr/bin/gdb

If I set a break point and run the application from within the IDE I get..
Initialization output:
\nwarning: 
--arch option not supported in this gdb.\n

If I click ok on that I then get
Debugger error
Oooops, the debugger entered the error state
Save your work now!

Hit Stop, and hope the best, we're pulling the plug.


Where is this --arch option being set and is there something else I need 
to do to be able to debug on Mac OS X.


What gdb version are you using ?

Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Dominique Louis

Marc Weustink wrote:

What gdb version are you using ?



No Idea, how can I tell?

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Mac OS X : Correct way to debug in lazarus...

2007-11-11 Thread Matt Henley
gdb --version

works on my linux box

On Nov 11, 2007 5:17 PM, Dominique Louis
[EMAIL PROTECTED] wrote:
 Marc Weustink wrote:
  What gdb version are you using ?


 No Idea, how can I tell?


 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives


_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives