[Lazarus] rc2 debugger error
JuuS at mykolab.ch
Wed Mar 4 20:24:06 CET 2015
Will send (any?!) results to you...
On 03/04/2015 07:25 PM, Martin Frb wrote:
> On 04/03/2015 17:58, JuuS wrote:
>> Hi Martin,
>> Thank you for the instructions! That is very cool (-gw), didn't know how
>> to do that...I will be playing there sometimes methinks...
>> Anyway, I followed instructions and there are no call stack messages,
>> the debugger error window shows up immediately.
> Try setting a breakpoint in
> procedure TDebugManager.DebuggerChangeState(ADebugger: TDebuggerIntf;
> OldState: TDBGState);
> line 1150
> if FDebugger.State=dsError
> then begin
> if dmsInitializingDebuggerObject in FManagerStates
> then Include(FManagerStates,dmsInitializingDebuggerObjectFailed);
> inside the "if". That should do.
> Another test you could do:
> Do not use F9 (Run), which builds, and runs.
> Instead go to the menu, and choose build. Then when the build finished,
> press run (F9 or menu)
>> Am archiving the original problematic PUB files and will send to you.
> Thanks got them. Unfortunately it does not happen on my system. (Tried
> Windows and linux)
>> BTW, any drawbacks to keeping the -gw switch on? I'd like to keep the
>> ability to debug ide I guess,...just in case ;-)
> Only the size of the lazarus.exe.
> I usually build with
> -gh -g -gw -godwarfsets -Criot -gtt -Sa -O1
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
More information about the Lazarus