[fpc-pascal] Breakpoints in certain procedure don't get hit.

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jan 29 07:45:31 CET 2009


On 29 Jan 2009, at 06:47, Ken G. Brown wrote:

> In Xcode 3.1.2 I'm having trouble getting breakpoints to get hit in  
> a certain procedure. Breaks in other procedures in the same file  
> work. I can break before entering the procedure but 'step into' just  
> executes the procedure that apparently has breakpoints correctly set  
> but they don't get hit.  Tried complete clean and rebuild.


Try changing the debug info from stabs into dwarf:

In the project settings, under the Build tab, select the Debug  
configuration, then the "All Settings" collection, filter on "fpc",  
and add "-gw2" at the end of the FPC_SPECIFIC_OPTIONS settings. This  
will switch the compiler from stabs to dwarf. Then clean and rebuild.


Jonas



More information about the fpc-pascal mailing list