[Lazarus] Debugger Warning

Marcos Douglas md at delfire.net
Mon Feb 23 17:14:09 CET 2015


On Mon, Feb 23, 2015 at 12:47 PM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> On Mon, 23 Feb 2015 12:02:08 -0300
> Marcos Douglas <md at delfire.net> wrote:
>
>>[...]
>> > Just to be sure: This is about your app (intentionally) not having
>> > FPC_RAISEEXCEPTION?
>> > There is no other breakpoint (check in breakpoints window of menu "View"
>> > "Debugger windows")?
>>
>> No. Exception could be raised, but FPCUnit will catch.
>> Without debug-info these exception not show a message. But I need to
>> see the Heaptrc info at the end.
>
> Does that mean you don't want to run it in the debugger, you only want
> to run it and read its stdout?

I want run using IDE, see the FPCUnit GUI which tests passed or not,
so on. When  close the program I would like to see the Heaptrc's
message box to know if there are memleaks. I always did that.

>> > I guess this feature needs fine tuning. And maybe a "run without debugger"
>> > command.
>>
>> I always create two Build modes: Debug and Run. To normal app, Debug
>> mode has all options to debug and Run mode has nothing (nor debug-info
>> or heaptrc). The "problem" is only for run Test programs, ie, in Run
>> mode I need check heaptrc.
>
> Mattias

Marcos Douglas




More information about the Lazarus mailing list