Re: What are your C++ tools for development?
On 14.10.14 17.00, Rick C. Hodgin wrote:
On Tuesday, October 14, 2014 10:31:11 AM UTC-4, Robert Hutchings wrote:
Do you use an IDE like Code::Blocks or Eclipse? Or just Emacs or
vi/gcc/g++ on Linux/UNIX?
What about testing and debugging? Favorite tools?
Windows: Visual Studio 2003, Visual Studio 2008. You cannot beat
edit-and-continue.
I had not even one existing real life project where it ever worked
(VS2003, 2008, 2012). For me it only works for power point slides or
simple examples.
The only effect when I turn it on is that the code can no longer be
modified while debugging, which is even worse than without the feature.
I should note, that I usually work with web applications.
There is no other ability to write code which is
better suited to debugging.
In theory, yes.
I also use the Visual Assist X plugin
for Visual Studio, which adds a lot of refactoring abilities which
make development so much nicer.
Well, refactoring is no powerful side of VS (without external tools).
Eclipse had always been far ahead of it.
Linux: CodeLite IDE with GCC and GDB, though I find GDB to be hideous
and awful compared to Visual Studio's debugger.
Well, and gdb is almost unusable without additional tools. The user
interface is horrible. It's strength is remoting over platform
boundaries, e.g. debugging ARM from x64.
When remote debugging with VS the speed decreases by some orders of
magnitude, almost unusable. Unfortunately x64 seem to trigger remote
debugging also even if you operate locally because VS is restricted to
32 bit. So we build all our .NET applications for any CPU and run it as
x86 even on x64 platforms, although this causes some performance
penalty, e.g. because atomic operations (Interlocked.*) with 64 bit
operands like long or DateTime create runtime overhead.
The IDE is close
enough, and GCC has vastly superior warnings and error catching.
First of all gcc can usually compile C++ code without major errors. With
VS I had problems to compile standard conform C++ code several times.
OK, I did not use much C++ with VS in the last years. In fact I talk
about VS <= 2008.
GCC does also give several false positives, however.
Ack, sometimes.
Marcel