RE: [lazarus] Debugger on Mac OS X

2007-06-03 Thread Hess, Philip J
8:51 PM To: lazarus@miraclec.com Subject: RE: [lazarus] Debugger on Mac OS X Good point. But if the linker on other platforms complains about the OS X specific switches, you should be able to uncheck Pass Options To Linker box, correct? Here's the reference for what can go into the app

Re: [lazarus] Debugger on Mac OS X

2007-06-03 Thread Mattias Gaertner
On Sun, 3 Jun 2007 16:39:29 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Today I started looking into the issue of how to store additional version info that could be used to populate a Mac app bundle's Info.plist file. Unfortunately, it appears as though any additional data added to the .lpi

RE: [lazarus] Debugger on Mac OS X

2007-06-03 Thread Hess, Philip J
? Thanks. -Phil -Original Message- From: Mattias Gaertner [mailto:[EMAIL PROTECTED] Sent: Sun 6/3/2007 4:29 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Debugger on Mac OS X On Sun, 3 Jun 2007 16:39:29 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Today I started looking

Re: [lazarus] Debugger on Mac OS X

2007-06-03 Thread Mattias Gaertner
On Sun, 3 Jun 2007 17:52:24 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Mattias, I've used the FPC DOM unit to add to and delete from XML files without destroying everything else in the file. Use TDOMNode.RemoveChild to delete a node (for example, VersionInfo). Use

RE: [lazarus] Debugger on Mac OS X

2007-06-03 Thread Hess, Philip J
, perhaps written in TProject.WriteProject? I haven't really studied this code much yet. Thanks. -Phil -Original Message- From: Mattias Gaertner [mailto:[EMAIL PROTECTED] Sent: Sun 6/3/2007 5:37 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Debugger on Mac OS X On Sun, 3 Jun 2007 17:52

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
On 5/31/07, Hess, Philip J [EMAIL PROTECTED] wrote: Regarding your 2nd suggestion: It's absolutely critical that the IDE not create a new app bundle each time it compiles. It doesn't need to create a new app bundle with each compile. Just make a trivial check: Does myapp.app already exist? If

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
On 5/31/07, Hess, Philip J [EMAIL PROTECTED] wrote: I think you can set Pass Options To The Linker to this: -framework carbon -framework Qt4Intf -lobjc for each new project and then just forget about it. You can then change the widget type to gtk, qt or carbon as needed and compile. I don't

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
On 5/31/07, Hess, Philip J [EMAIL PROTECTED] wrote: -framework carbon -framework Qt4Intf -lobjc What does -lobjc do? -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
Of course those other things I mentioned are secondary. The most important think is having debugging on the IDE. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

RE: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Hess, Philip J
Apparently with Qt 4.2 it now requires the Objective C library (objc) to link against. Thanks. -Phil -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 3:09 AM To: lazarus@miraclec.com Subject: Re: [lazarus] Debugger on Mac OS X

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Tom Gregorovic
Vincent Snijders napsal(a): Tom Gregorovic schreef: Hi, I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Tom, I was wondering how far are you from running the IDE based on the carbon

RE: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Hess, Philip J
To: lazarus@miraclec.com Subject: Re: [lazarus] Debugger on Mac OS X On 5/31/07, Hess, Philip J [EMAIL PROTECTED] wrote: I think you can set Pass Options To The Linker to this: -framework carbon -framework Qt4Intf -lobjc for each new project and then just forget about it. You can then change

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/26/07, Tom Gregorovic [EMAIL PROTECTED] wrote: I have encoutered the same problem. Debugging from IDE does not function, because it's trying to debug the executable instead of app. bundle. Manually via terminal (command: gdb project.app) there is no problem. I tryed to debug an

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/26/07, Marc Weustink [EMAIL PROTECTED] wrote: A way to work around this is: Create an app bundle in your project dir and symlink the exe inside the bundle to the compiled exe in the project dir. Then for debugging set Run parameters - host application to yourbundle.app The work around

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Tom Gregorovic
Felipe Monteiro de Carvalho napsal(a): On 5/26/07, Marc Weustink [EMAIL PROTECTED] wrote: A way to work around this is: Create an app bundle in your project dir and symlink the exe inside the bundle to the compiled exe in the project dir. Then for debugging set Run parameters - host

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Vincent Snijders
Tom Gregorovic schreef: Hi, I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Tom, I was wondering how far are you from running the IDE based on the carbon widgetset? Or do you already run a

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/30/07, Vincent Snijders [EMAIL PROTECTED] wrote: Tom, I was wondering how far are you from running the IDE based on the carbon widgetset? Or do you already run a carbon based IDE? I just tested it. One must compile with: make clean all LCL_PLATFORM=carbon OPT=-k-framework -kcarbon And

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/30/07, Tom Gregorovic [EMAIL PROTECTED] wrote: I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Thanks. Indeed it would be nice to have a better working IDE on mac os x. I have some

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Павел Ишенин
Felipe Monteiro de Carvalho wrote: On 5/30/07, Tom Gregorovic [EMAIL PROTECTED] wrote: I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Thanks. Indeed it would be nice to have a better working

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 19:00:23 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Felipe, I think you can set Pass Options To The Linker to this: -framework carbon -framework Qt4Intf -lobjc for each new project and then just forget about it. You can then change the widget type to gtk, qt or

RE: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Hess, Philip J
, not just the limited version strings that it allows now. Thanks. -Phil -Original Message- From: Mattias Gaertner [mailto:[EMAIL PROTECTED] Sent: Wed 5/30/2007 6:44 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Debugger on Mac OS X On Wed, 30 May 2007 19:00:23 -0400 Hess, Philip

[lazarus] Debugger on Mac OS X

2007-05-26 Thread Felipe Monteiro de Carvalho
Hi, Does the debugger work on gtk ide running on mac os x? I set gdb as my debugger, made a very simple carbon app (pure carbon, not lcl), set some breakpoints on the software beginning, but when I run it nothing happens. I mean, the app doesn' t start, and the breakpoints aren' t activated,

Re: [lazarus] Debugger on Mac OS X

2007-05-26 Thread Tom Gregorovic
Felipe Monteiro de Carvalho napsal(a): Hi, Does the debugger work on gtk ide running on mac os x? I set gdb as my debugger, made a very simple carbon app (pure carbon, not lcl), set some breakpoints on the software beginning, but when I run it nothing happens. I mean, the app doesn' t start,

Re: [lazarus] Debugger on Mac OS X

2007-05-26 Thread Marc Weustink
Tom Gregorovic wrote: Felipe Monteiro de Carvalho napsal(a): Hi, Does the debugger work on gtk ide running on mac os x? I set gdb as my debugger, made a very simple carbon app (pure carbon, not lcl), set some breakpoints on the software beginning, but when I run it nothing happens. I mean,