[Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
Hi, I updated my Lazarus and I noted a new behavior: if I compile any program with the option Debugging>Generate debugging info unchecked, when I run a message is showed: "The debugger was unable to set all breakpoints during initialization. You may with to check if all sources were compiled with d

Re: [Lazarus] Debugger Warning

2015-02-23 Thread martin
On 23/02/15 14:37, Marcos Douglas wrote: Hi, I updated my Lazarus and I noted a new behavior: if I compile any program with the option Debugging>Generate debugging info unchecked, when I run a message is showed: "The debugger was unable to set all breakpoints during initialization. You may wit

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 11:44 AM, martin wrote: > On 23/02/15 14:37, Marcos Douglas wrote: >> >> Hi, >> I updated my Lazarus and I noted a new behavior: if I compile any program >> with the option Debugging>Generate debugging info unchecked, when I run a >> message is showed: >> "The debugger was

Re: [Lazarus] Debugger Warning

2015-02-23 Thread martin
On 23/02/15 15:02, Marcos Douglas wrote: On Mon, Feb 23, 2015 at 11:44 AM, martin wrote: there is an option in the debugger properties (the property grid in the debugger options) In Tools>Options>Debugger>General? What option? Sorry my fault, the option wasnt published. I committed that, wi

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Mattias Gaertner
On Mon, 23 Feb 2015 12:02:08 -0300 Marcos Douglas 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,

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 12:47 PM, Mattias Gaertner wrote: > On Mon, 23 Feb 2015 12:02:08 -0300 > Marcos Douglas 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

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 12:53 PM, martin wrote: > On 23/02/15 15:02, Marcos Douglas wrote: >> >> On Mon, Feb 23, 2015 at 11:44 AM, martin wrote: >>> >>> >>> there is an option in the debugger properties (the property grid in the >>> debugger options) >> >> In Tools>Options>Debugger>General? What

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Mattias Gaertner
On Mon, 23 Feb 2015 12:02:08 -0300 Marcos Douglas wrote: >[...] > 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. If you only want to run the programs and read stdout you should use t

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Mattias Gaertner
On Mon, 23 Feb 2015 13:26:17 -0300 Marcos Douglas wrote: >[...] > I will test but could not be as before or, better, why not show this > message only if there are breakpoints marked? Stopping on exceptions require an breakpoint. >[...] Mattias --

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 1:29 PM, Mattias Gaertner wrote: > On Mon, 23 Feb 2015 12:02:08 -0300 > Marcos Douglas wrote: > >>[...] >> 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. > >

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 1:42 PM, Mattias Gaertner wrote: > On Mon, 23 Feb 2015 13:26:17 -0300 > Marcos Douglas wrote: > >>[...] >> I will test but could not be as before or, better, why not show this >> message only if there are breakpoints marked? > > Stopping on exceptions require an breakpoint

Re: [Lazarus] Debugger Warning

2015-02-23 Thread martin
On 23/02/15 16:26, Marcos Douglas wrote: On Mon, Feb 23, 2015 at 12:53 PM, martin 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/witho

Re: [Lazarus] Debugger Warning

2015-02-23 Thread martin
On 23/02/15 16:58, Marcos Douglas wrote I don't want to use breakpoint... but in tools > option > debugger > "gdb" is selected. So the IDE assumes you want to debug. Yet I agree this option is global, not suitable for being changed all the time this is the (inconvenient) problem. I do no

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 2:04 PM, martin wrote: > On 23/02/15 16:26, Marcos Douglas wrote: >> >> On Mon, Feb 23, 2015 at 12:53 PM, martin wrote: >>> >>> On 23/02/15 15:02, Marcos Douglas wrote: >>> >>> Sorry my fault, the option wasnt published. >>> >>> I committed that, with added fine tuning "Wa

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 2:14 PM, martin wrote: > On 23/02/15 16:58, Marcos Douglas wrote >> >> I don't want to use breakpoint... > > but in tools > option > debugger > "gdb" is selected. So the IDE assumes you > want to debug. > > Yet I agree this option is global, not suitable for being changed a

Re: [Lazarus] Debugger Warning

2015-02-23 Thread martin
On 23/02/15 17:22, Marcos Douglas wrote: On Mon, Feb 23, 2015 at 2:14 PM, martin wrote: On 23/02/15 16:58, Marcos Douglas wrote I don't want to use breakpoint... but in tools > option > debugger > "gdb" is selected. So the IDE assumes you want to debug. Yet I agree this option is global, not

Re: [Lazarus] Debugger Warning

2015-02-23 Thread martin
On 23/02/15 17:16, Marcos Douglas wrote: I need for project, not globally. If this option exists in Build modes... for now you should be able to disable it. ( that option will stay) then we need to find ways to deal with all the requirements I am currently on my laptop. so I will not do anyth

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 2:26 PM, martin wrote: > On 23/02/15 17:16, Marcos Douglas wrote: >> >> >> I need for project, not globally. If this option exists in Build modes... >> > for now you should be able to disable it. ( that option will stay) > > then we need to find ways to deal with all the re

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Mattias Gaertner
On Mon, 23 Feb 2015 13:46:42 -0300 Marcos Douglas wrote: > On Mon, Feb 23, 2015 at 1:29 PM, Mattias Gaertner > wrote: > > On Mon, 23 Feb 2015 12:02:08 -0300 > > Marcos Douglas wrote: > > > >>[...] > >> No. Exception could be raised, but FPCUnit will catch. > >> Without debug-info these exceptio

Re: [Lazarus] Debugger Warning

2015-02-23 Thread Marcos Douglas
On Mon, Feb 23, 2015 at 4:02 PM, Mattias Gaertner wrote: > On Mon, 23 Feb 2015 13:46:42 -0300 > Marcos Douglas wrote: > >> On Mon, Feb 23, 2015 at 1:29 PM, Mattias Gaertner >> wrote: >> > On Mon, 23 Feb 2015 12:02:08 -0300 >> > Marcos Douglas wrote: >> > >> >>[...] >> >> No. Exception could be