Tino,

Here is a link to a post on my blog about debugging the aqua port of OOo with Emacs-gdb.

http://www.mikesicotte.com/2007/02/21/debugging-ooo-with-xemacs-and-gdb/

Mike

On Feb 21, 2007, at 1:16 PM, [EMAIL PROTECTED] wrote:

Michael Sicotte wrote:

Thanks, you pointed me in the right direction. The documentation didn't say to rename soffice.bin. First I thought the documentation was a typo, and entered soffice.bin in XCode. Then I thought maybe the file and the entry in XCode could be different. Finally, after your message, I renamed the file - and now its enabled. (This renaming is kind of a pain - but I guess I won't do a full build that often. Which is why I guess getting started is so hard - once you are up and running you don't go through the whole process again. :)

You are welcome! :)

I updated the wiki to point out that you have to rename the file, and also changed one other area where the documentation wasn't clear - the note /** be sure to check "Create Folder References for any added folders" **/ was in the wrong place.

Thanks!

I also have gdb working in Carbon Emacs which isn't too bad - either way the learning curve is steep.

Then you could advise me probably. I could get it to work properly. When I tried it some weeks ago I was for strange reasons not able to set break points and start the program etc.
What to do to get it going? Which emacs version do you use.

Regards,
Tino


On Feb 21, 2007, at 2:27 AM, [EMAIL PROTECTED] wrote:

Michael Sicotte wrote:

I have followed the instructions at

http://wiki.services.openoffice.org/wiki/ MacOSX_Debug_OpenOffice.org_using_XCode

to debug OOo, but the

Debug Executable menu

is not enabled.  Any ideas?


This is kind of surprising. I recently followed the instruction as the are on the wiki page and it works for me. However we've noticed in the past the different XCode versions have different problems. Which XCode version are you using? Did you rename soffice.bin to soffice_bin? Did you change the Info.plist etc.? However even when you finally succeed there may be more problems waiting for you :( I found that actually getting the debugger to break at a breakpoint seems not to work. ATM I'm working with XCode 2.4 I think. If I've got more time again. I need to investigate more on this and if it really doesn't work I think we should start filing bugs to Apple. Working with gdb on the command line is a pain with such monster
projects like OOo.

Regards,
Tino

-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to