I don't care if the source code belongs to fpc, lazarus, a third-party, or me. I'd like to be able to step over it if want to, or step into it if I want or need to. This is a dev box so I don't really care how fat any .exe is on it.
Win 7 x64, fpc 3.0.0 bootstrap, fpc 3.1.1 and lazarus 1.7 trunks 2015-12-19
I have a great script I got from the forums that gets the trunks from svn and builds fpc and lazarus from source. For good measure before I run it I recursively delete the fpc, lazarus, and appdata/local folders so there's no residue. I've tried so many things good or bad, but right now for fpc it boils down to:
make all OPT="-O1 -gl -g"
and for lazarus it's:
make bigide OPT="-O1 -gl -g"
.
From within the IDE I've tried compiling and installing every package I can find like this:
http://imageshack.com/a/img910/2553/Qetqi3.pnghttp://imageshack.com/a/img905/228/YSIVGK.pngAnd for an example, I'm trying to step into TSQLQuery.FieldByName().AsString:
TMainForm = class(TForm)
Button1: TButton;
Query: TSQLQuery;
...
procedure TMainForm.Button1Click(Sender: TObject);
var
vName: string;
begin
vName:=Query.FieldByName('Name').AsString;
ShowMessage(vName);
end;
I put the ShowMessage() there just to make sure vName isn't getting optimized out, eliminating the need for the ...AsString line altogether. Alt+Up Arrow brings be to the code I'm interested in stepping into, but for the life of me I can't figure out how to get the debugger there.
Can anyone help me out with this?