[Lazarus] rc2 debugger error
JuuS
JuuS at mykolab.ch
Wed Mar 4 20:24:06 CET 2015
Thanks Martin,
Will do...tomorrow............
Will send (any?!) results to you...
Guten Abend,
Julius
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
> ide\debugmanager.pas
> procedure TDebugManager.DebuggerChangeState(ADebugger: TDebuggerIntf;
> OldState: TDBGState);
>
> line 1150
> if FDebugger.State=dsError
> then begin
> Include(FManagerStates,dmsDebuggerObjectBroken);
> if dmsInitializingDebuggerObject in FManagerStates
> then Include(FManagerStates,dmsInitializingDebuggerObjectFailed);
> end;
>
> 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
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list