[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Eclipse CDT generated C++ binary works outside Eclipse and not in it!
|
Guess what... This works just fine when I used MinGW instead of Cygwin
Although it must be noted that I had to download gdb for MinGW separately
After which in the Debugger section I chose MinGW gdb, which was also
pointing to the correct location.
abhimenon wrote:
>
> So as I mentioned in my post before,
> Under
> Debug->Open Debug Dialog->Debugger(tab)->Debugger
> I have the 4 options I mentioned before. Which one should I choose?
> 1.Cygwin gdb debugger
> 2.gdb debugger
> 3. gdb/mi
> 4.gdbserver debugger
> ?
>
> Thanks..
>
>
> subs-6 wrote:
>>
>> this is normally because it can't find 'gdb'. You need to edit the name
>> of the debugger in the debug configuration dialog.
>>
>> abhimenon wrote:
>>> Eclipse CDT 3.3.2 on Windows Vista; Cygwin installed with g++, make,
>>> pdb.
>>> I created a simple C++ project that prints out "hello world". It
>>> compiles
>>> fine and generates a binary. When I try to debug or run this binary from
>>> the
>>> Eclipse IDE I get the error "Exec Error: Launching failed". When I
>>> double
>>> click on the binary through Windows explorer it runs fine.
>>> I checked my configurations for the executable, in there under Debugger
>>> I
>>> have the following options
>>> Cygwin gdb debugger
>>> gdb debugger
>>> gdb/mi
>>> gdbserver debugger
>>>
>>> I tried all four and get the same negative results with each.
>>>
>>> What is going on? is it a problem with pdb / eclipse / cygwin
>>>
>>> help!
>>>
>>> Thanks,
>>> abhimenon
>>
>>
>> --
>> Subs
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Eclipse-CDT-generated-C%2B%2B-binary-works-outside-Eclipse-and-not-in-it%21-tp18273991p18275678.html
Sent from the Eclipse CDT - Development mailing list archive at Nabble.com.