Prevent Multiple Debug Processess for a single project [message #170526] |
Tue, 30 May 2006 17:40  |
Eclipse User |
|
|
|
Originally posted by: mitchell.fang.gmail.com
Hi,
I don't know if the subject title is clear so I will describe the
problem in more detail. So, I am already debugging a project. For some
reason I forget, press the debug button and debug the same project
again. This is currently fine in Eclipse, but I would like to prevent
the 2nd debug process from occurring. I was thinking it could be done
pretty easily with a boolean on/off flag. I'm not too familiar with the
CDT code and was hoping someone could tell me where to start and if it's
that the solution using a boolean on/off flag is plausible.
Thanks
Mitchell Fang
|
|
|
|
|
Re: Prevent Multiple Debug Processess for a single project [message #170580 is a reply to message #170572] |
Wed, 31 May 2006 16:41  |
Eclipse User |
|
|
|
Originally posted by: mikhailk.qnx.com
Well, than you have your own launch configuration delegate. In the "launch"
method check if a launch with the given launch configuration exists and
throw a CoreExecption to prevent the launching of the second copy.
"Mitchell Fang" <mitchell.fang@gmail.com> wrote in message
news:e5kskf$laa$1@utils.eclipse.org...
> Yes, I have my own debugging launch plug-in for embedded processors pretty
> much like the Zylin CDT plug-in if you're familiar with it.
>
> Mitch
>
> Mikhail Khodjaiants wrote:
>> Do you want to do it for a particular launch configuration type?
>>
>> "Mitchell Fang" <mitchell.fang@gmail.com> wrote in message
>> news:e5ie37$73s$1@utils.eclipse.org...
>>> Hi,
>>>
>>> I don't know if the subject title is clear so I will describe the
>>> problem in more detail. So, I am already debugging a project. For some
>>> reason I forget, press the debug button and debug the same project
>>> again. This is currently fine in Eclipse, but I would like to prevent
>>> the 2nd debug process from occurring. I was thinking it could be done
>>> pretty easily with a boolean on/off flag. I'm not too familiar with the
>>> CDT code and was hoping someone could tell me where to start and if it's
>>> that the solution using a boolean on/off flag is plausible.
>>>
>>> Thanks
>>> Mitchell Fang
>>
|
|
|
Powered by
FUDForum. Page generated in 0.24087 seconds