Run Configurations API and GUI

Niko Sams niko.sams at gmail.com
Sat Apr 4 18:12:50 UTC 2009


On Sat, Apr 4, 2009 at 7:38 PM, Vladimir Prus <ghost at cs.msu.su> wrote:
> On Saturday 04 April 2009 19:03:05 Niko Sams wrote:
>> > I think this model will work nice for regular things, but might have problems
>> > with "irregular" launches. E.g. you have mentioned starting a webbrowser. It
>> > does not really fit here. But notice how Eclipse does it -- it as an 'external tool'
>> > mechanism. It is completely independent from regular launch framework -- it's just
>> > something that can be executed and has generally custom GUI. I guess we can use
>> > this approach too.
>> For XDebug (a php debugger) we need just like for an C++ application
>> run, debug, profile. Even
>> if the application is started by opening an external webbrowser. The
>> debugger/profiler plugins
>> need the possibility to add GET-parameters to the url - to activate
>> debugging/profiling.
>
> Well, this seem to fit the model quite well. I presume you can implement
> new PHPLauncher class that will report itself as capable to run, debug
> and profile. Then, new "PHP Application" configuration type has to be created,
> which will use PHPLauncher for run, debug and profile by default. And PHP
> launcher has to provide UI page where GET parameters can be specified.
good...

>> And what we need for web-stuff is a possibility for at least two launchers:
>> - start an external webbrowser
>> - run in an internal webbrowser (something like OutputView for html)
> Is this still for PHP application, or something independent?
Yes - basically every language that is used to render html.


Niko




More information about the KDevelop-devel mailing list