Oliver Wong wrote:
>
> "Martin Jørgensen" <> wrote in message
> news:ntu9j3-...
>
>> Hi,
>>
>> I just downloaded eclipse with the CDT (c/c++ extension) and now I can
>> compile programs using makefiles. That's great...
>>
>> But when I debug I guess it calls the gdb-debugger and when it returns
>> it keeps bringing me a dialog box which says: "Confirm Perspective
>> Switch" in the heading and "! This kind of launch is configured to
>> open the C/C++ perspective when it suspends. Do you want to open this
>> perspective now?"
>>
>> Ofcourse I could just answer "no" and "remember this setting", but
>> where is this set up in the program?
>
>
> Probably somewhere in Windows->Preferences. I don't have the CDT
> plugin, so I can't give you an exact location, but when you open
> Windows->Preference, you'll see a textbox with the contents "type filter
> text". Type in something there like "CDT" or "C/C++" and you'll only see
> the preferences related to CDT, which will narrow down your search.
Thanks a lot for the hint...
I found it, but I still have a problem. Perhaps you can see it too under
Windows -> Preferences -> Run/Debug -> Option 3 or 4 from the top. It
says: "Activate the debug view when a breakpoint is hit". I have that
box marked... Below it says: "Open the associated perspective when an
application suspends". And here it is (I found out by experimenting)...
I had it on "prompt" before. If I put it on never, it doesn't asks me again.
But actually I would like to have it on "Always" if I could just change
the associated perspective to "Debug"... I even tried to do that under
General -> Perspectives -> "Debug" is now default... But it still
doesn't work. Somehow C/C++ is associated.
I tried to close all perspectives and start them again... Yet I get:
"!This kind of launch is configured to open the C/C++ perspective when
it suspends. Do you want to open this perspective now?"
Anyone knows how to do it - make "Debug" the associated perspective?
Best regards / Med venlig hilsen
Martin Jørgensen
--
---------------------------------------------------------------------------
Home of Martin Jørgensen -
http://www.martinjoergensen.dk