Re: FreePascal unit in Cocoa project - debugger problem
Re: FreePascal unit in Cocoa project - debugger problem
- Subject: Re: FreePascal unit in Cocoa project - debugger problem
- From: "Alexander Bokovikov" <email@hidden>
- Date: Tue, 7 Jul 2009 16:47:16 +0600
Hi, All,
On 25 Feb 2009, at 10:56, Jonas Maebe wrote:
I've now created a version of Apple's Currency Converter
sample (converted back to Objective-C 1.0) that calls a Pascal
function to perform the currency conversion multiplication.
You can download it from
http://users.elis.ugent.be/~jmaebe/fpc/FPC_Objective-C_Cocoa.tbz
Now I've tried to create something more or less real on this base. The first
problem I've run into is the debugger misfunctioning. First I've noticed
that all breakpoints in pascal module are inactive. I opened XCode
Preferences => Debugging and disable "Load Symbols Lazily" option. click
Build&Run again and see my breakpoint being active, but... please take a
look at screenshot here:
http://home.bokovikov.com/etc/mac/pasincocoa/picture1.jpg
Real break is shown in a very strange area outside of source code. At the
same time disassembler view shows break at pascal initialization module.
Further I've noticed, that pressing Cmd+Alt+Shift+O keys I'm moving line by
line in the disassembler view. That is not strange. What is strange, is the
Source Code view behaviour - its position also is moving line by line
despite to any comments, blank lines, etc. i.e. just as it is moving in the
disassembler view. What is it all??? Can't I use debugger in pascal part of
the project? That would be very bad if not fatal... Any ideas?
Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden