Re: [Lazarus] What lines of a project run [fpdebug]

2015-08-11 Thread Graeme Geldenhuys
On 2015-08-11 12:12, Martin Frb wrote: Do you men a console style? Not sure. There was a console interface, and it might still work. Yes, I meant if you run the fpdebug debugger from the command prompt (not via the IDE). I'll go have a look to see what is there. Regards, - Graeme - --

Re: [Lazarus] What lines of a project run [fpdebug]

2015-08-11 Thread Martin Frb
On 11/08/2015 00:03, Graeme Geldenhuys wrote: On 2015-08-10 21:25, Martin Frb wrote: Again it can be added to the new fpdebug. Does fpdebug still have a (human) interactive interface, like duby used to have? Or does it only do app-to-app communications now? The IDE is interactive? Do you

[Lazarus] What lines of a project run

2015-08-10 Thread Aradeonas
Is there any way to find out what lines of a project run in all units like a log? For example : unit1 line 345 unit1 line 346 unit1 line 347 unit1 line 348 unit2 line 123 unit2 line 256 unit3 line 1252 unit3 line 1253 Regards, Ara -- http://www.fastmail.com - Choose from over 50 domains or

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Martin Frb
On 10/08/2015 18:35, Aradeonas wrote: So there isnt any option or implement in debugger that it log what lines it go and it compile? You are looking for complied or executed lines? Compiled lines: just look for the blue dots, while the debugger runs Executed lines: No current plan. For

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Martin Frb
On 10/08/2015 19:10, Aradeonas wrote: Thank you. But its interesting also how we can find out what is debugger doing. Depends on what you want to know. You can see the interaction between the IDE and GDB in Menu: View Debug Window Debug output. --

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-10 18:35, Aradeonas wrote: I dont know much about compilers but when it know what lines it run and debug so it can write it some where. You could accomplish what you want (I think) with a minor tweak to fpprofiler [https://github.com/graemeg/fpprofiler]. fpprofiler is a poor mans

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Aradeonas
So there isnt any option or implement in debugger that it log what lines it go and it compile? I dont know much about compilers but when it know what lines it run and debug so it can write it some where. Regards, Ara -- http://www.fastmail.com - Or how I learned to stop worrying and

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Aradeonas
Thank you. But its interesting also how we can find out what is debugger doing. Regards, Ara -- http://www.fastmail.com - A fast, anti-spam email service. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Martin Frb
On 10/08/2015 15:34, Aradeonas wrote: Is there any way to find out what lines of a project run in all units like a log? For example : unit1 line 345 unit1 line 346 unit1 line 347 As in code coverage? The best I can think of is valgrind (linux only), with kcachegrind. It doesn't

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Aradeonas
I want to know executed lines,I dont care about debugging in the mean time but I want to know what lines will executed,debugger know that so there should be a way to get this from it. From the time I start programming years ago I like to know the lines will executed,its sometimes useful and also

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-10 21:25, Martin Frb wrote: Again it can be added to the new fpdebug. Does fpdebug still have a (human) interactive interface, like duby used to have? Or does it only do app-to-app communications now? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free

Re: [Lazarus] What lines of a project run

2015-08-10 Thread Martin Frb
On 10/08/2015 19:46, Aradeonas wrote: I want to know executed lines,I dont care about debugging in the mean time but I want to know what lines will executed,debugger know that so there should be a way to get this from it. Actually the debugger does not always know what lines were executed. (But