[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-debug-dev] Projectless debugging of Linux apps
|
> I can't comment on the launch configuration restrictions. I am not a big fan
> of making software too smart if it is not necessary. Maybe it is necessary
> in this case - I don't know, I haven't had chance to investigate it. Maybe,
> Dave Ingils can comment on this if he's following the discussion.
> Anyway, as far as I understand we have agreed that the following steps need
> to launch the debugger with the executable located outside of the workspace.
> Correct me if I am wrong.
> 1. Specify the executable.
> 2. Automatically create a temporary project.
IMHO, the benefit of this is really quite marginal. Manually creating a
"Debug-only" project would be more than sufficient. I most certainly
wouldn't want to postpone anything to wait for this.
Perhaps it is a better idea to have the creation of a "Debug-only"
project step be explicit anyway?
Can we take it out?
> 3. Launch a debug session.
> 4. On attemp to remove the terminated session ask the user if he wants to
> save the project.
Ditto.
> The simple way to implement this is to add a launch configuration. In the
> future we can combine both launch configurations together.
So basically all we need at this point:
- a "plugin" that simply removes the check on whether an executable is
part of a project
- slap a big sticker on it that this is work in progress and that
patches/fixes, rather than bugreports :-) are more useful for creating
progress. It is my impression that the patches required here would
oftentimes go into CDT and not the "plugin".
--
Øyvind Harboe
http://www.zylin.com