Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Prevent Multiple Debug Processess for a single project
Prevent Multiple Debug Processess for a single project [message #170526] Tue, 30 May 2006 17:40 Go to next message
Eclipse UserFriend
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 #170565 is a reply to message #170526] Wed, 31 May 2006 14:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

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
Re: Prevent Multiple Debug Processess for a single project [message #170572 is a reply to message #170565] Wed, 31 May 2006 16:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mitchell.fang.gmail.com

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
>
>
Re: Prevent Multiple Debug Processess for a single project [message #170580 is a reply to message #170572] Wed, 31 May 2006 16:41 Go to previous message
Eclipse UserFriend
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
>>
Previous Topic:Eclipse Debug Dialog Extremely Slow Solaris
Next Topic:CDT 3.1 RC2 Now Available
Goto Forum:
  


Current Time: Sun Jul 13 17:18:10 EDT 2025

Powered by FUDForum. Page generated in 0.24087 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top