[fpc-pascal] Re: OT: Amazing new development tools
Lukasz Sokol
el.es.cr at gmail.com
Mon Feb 27 13:32:45 CET 2012
On 26/02/2012 11:17, Mattias Gaertner wrote:
> On Sun, 26 Feb 2012 11:43:38 +0100 (CET) Michael Van Canneyt
> <michael at freepascal.org> wrote:
>
>>
>>
>> On Sun, 26 Feb 2012, Vinzent Höfler wrote:
>>
>>> On Sat, 25 Feb 2012 19:15:54 +0100, ik
>>> <idokan at gmail.com> wrote:
>>>
>>>> I found the following amazing lecture that present a new idea
>>>> of a development tool, that I think will interest you all:
>>>>
>>>> http://vimeo.com/36579366
>>>
>>> Impressive, indeed. And I am usually not that easily impressed.
>>
>> Impressed indeed. But IMHO limited to a certain kind of
>> programming. The binary search part could probably be done for any
>> kind of programming, I suppose.
>
> I doubt that "any kind of programming". He showed the simplest case:
> a function that only receives base types. But most functions work on
> complex parameters - classes. These need to be set up. Either by
> writing a test environment or by taking a snapshot with the debugger.
> Then you can run the function repeatedly.
>
> The next step is to "compile" the function on every change. Easy with
> an interpreter. How to compile only one function of a big program and
> insert/replace it?
Sorry for a plug, but MS VC++ 6.0 (!)* allowed for Pause->Edit Code->
Quick compile->Resume Execution kind of workflow...
Yes, in Debug/Pause mode, you COULD write a {code block} and then go
Debug->Apply and Continue (or something like that) and voila,
you could totally change code paths ...
(Not that I know much about internals/constraints of this, to be honest,
but of all, i found that a very cool feature)
Is there a way to add THAT to FPC/Lazarus/GDB world ?
(especially simulation/image/OpenGL Artists would be grateful :) )
>
> The next step is to run the function and read every value change.
> Easy in an interpreter. For a compiled program you have to single
> step with the debugger.
>
>
Lukasz
* Yes, Microsoft Visual C++ Six Point Zero. Mine (dating from before my times where I work now)
is from 1998. *
More information about the fpc-pascal
mailing list