[Dev-C++] One bug, one solution and one feature request
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Anders B. <And...@te...> - 2003-04-16 17:22:53
|
One bug, one solution and one feature request:
1) Dev + cygwin works, even debugging, but only with a tweak
2) A small bug (?) appears to be present in the Debug Output window
3) Pair matching highlight on-the-fly, please?!
-------------------------
1)
I had a problem with Dev+Cygwin: I could successfully compile with
Cygwin, but not use Dev (4.9.8.0) to debug (I didn't get any blue line).
Since I have a lot of pre-compiled libs in Cygwin, I was hoping to solve
the problem short of having to recompile them.
Now it turns out that the solution is simple: just install Mingw and
borrow its gdb.exe, copy it to cygwin\bin under a new name, and tell Dev
to debug using this gdb. But one can still compile with Cygwin, and in
fact remove Mingw altogether after this.
According to the Dev homepage, "Dev-C++ can also be used in combination
with Cygwin", which thus is only partially true, unless one applies this
tweak. This could therefore be useful info for a lot of people out there!
Including support for the Cygwin gdb is probably simple, since as far as
I can judge the only (?) difference compared to the Mingw gdb is the
output end-of-lines, which appear to be Unix-style for Cygwin but
Dos-style for Mingw.
2)
Potential bug in 4.9.8.0: In the debug output (where I see what gdb is
saying), I am supposed to be able to right-click and choose Copy or
Clear, right? Well, both options are greyed out, always.
3)
It would be REALLY useful to have pair matching of () [] {} on the fly.
The present "match pairs" feature is, in my humble opinion, not very
useful (or I don't understand how to use it, but it seems it just marks
pairs as I move past them with the cursor using the arrow keys).
What is needed is a good way to check that I have as many ( as ) and so
on. The simplest way would be that every time a } ] or ) is typed, the
editor shows (prefereably by color-flashing) the corresponding ([{ for a
while (until another key is pressed, I guess).
Most other coding editors (Rhide, Emacs, Winedt, fte) have this feature,
and I think it is virtually essential.
/Anders Blom
|