Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to trigger a dsf debug session

Sure.  When you select a project and right-click to choose Debug As...-> Local Application,
we create a launch session and launch it.  The code is in
 
CApplicationLaunchShortcut.java
 
The code path that is interesting to you is
launch(..) calls findLaunchConfiguration(..) which calls createConfiguration(..)
then launches it using DebugUITools.launch(..)
 
You can imitate that and choose the launch parameters that fit your needs.
 
Marc


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ?? ???
Sent: Monday, September 19, 2011 2:12 AM
To: cdt-dev
Subject: [cdt-dev] How to trigger a dsf debug session

Hello,
I am looking for a way to launch a dsf debug session once some event has occurred. I want to use the same debug configuration that the user defines in the "Run->debug configuration..." window. Is there any way i could do it?

Thanks,
Shai

Back to the top