[Lazarus] Debugger Warning

Marcos Douglas md at delfire.net
Mon Feb 23 18:16:43 CET 2015


On Mon, Feb 23, 2015 at 2:04 PM, martin <lazarus at mfriebe.de> wrote:
> On 23/02/15 16:26, Marcos Douglas wrote:
>>
>> On Mon, Feb 23, 2015 at 12:53 PM, martin <lazarus at mfriebe.de> wrote:
>>>
>>> On 23/02/15 15:02, Marcos Douglas wrote:
>>>
>>> Sorry my fault, the option wasnt published.
>>>
>>> I committed that, with added fine tuning "WarnOnSetBreakPointError"
>>>
>>> But ultimately it needs 2 run commands, with/without debugger.
>>
>> I will test but could not be as before or, better, why not show this
>> message only if there are breakpoints marked?
>
>
> Because normally the debugger can always set the internal breakpoints to get
> exceptions. And running in the debugger may be done just to catch an
> exception.

Hmm, I didn't know that.

> The idea was to warn the user, if he uses the debugger, but it will not
> work.

I understand.

> The oversight is that there are good reasons to do this.
>
>> Yes, shows without debugger but the message (at the first mail) is always
>> displayed too. Why not show this message only if there are breakpoints
>> marked?
>
>
> Without debugger differs to without debug info
>
> on tools options debugger is a dropdown. set that to none instead of gdb.
> then it is without debugger.

I need for project, not globally. If this option exists in Build modes...

Marcos Douglas




More information about the Lazarus mailing list