Graphic debugger for C++ on Mac OS/X
By mauede at Sat, Jun 5 2010 3:16pm |
I installed ddd on my Mac OS/X 10.5.8 (9L31a). I have to debug a C++ program. Main and all called functions reside in the same file.
I never liked ddd on Linux. I like it even less on Mac.
I wonder if there exists an easy to use graphic debugger for Mac which does not require all the complexity of XCode (opening a project etc...).
Thank you in advance.
Maura




That is an interesting
That is an interesting question, because I am working on a project where that is part of the goals. However, I can not offer a feature-rich fully working debugger yet, especially not for C++. Actually, C++ is supported (compilations work just fine) but since very few people using C++ have shown much interest so far, and I don't use it often myself, other problems have taken preference.
The project in question is a simplified IDE primarily for hobbyist and educational use. Just as you say, it is without the complexity of creating project files etc. Simplified means simplified for the user. And no, you don't have to work single-file either.
On debugging, there is a limited, preliminary debugger, incomplete but still often helps me. This is what it can do today:
- Set breakpoints in the editor.
- Run to breakpoint.
- Single-stepping, with step in and out.
- Very crude and incomplete display of variables.
This works quite well for FPC and C, and should really work just fine for C++ and ObjC too, but there seems to be some problems. Not that it doesn't work at all, it does, but it has some weaknesses.
So I guess this seems to aim for exactly what you need, but it needs some more work to really solve your problems, to be comfortable. I can and will improve its C++ capabilities, but I need people to discuss designs and features with.
TotalView? It is not free,
TotalView? It is not free, but works quite well on OS X.
I am a postdoc at the
I am a postdoc at the University of Genova, in the Bioinformatica group.
I asked for a license quotation for my 2-core Mac OS/X ...
The price I was given by the EU dealer in Paris, including the educational discount, is more than a month' stipend !
I'd appreciate any suggestion about the possibilita to get a license at an acceptable cost. They ignore, or couldn't care less, that postdocs' contracts in Italian universities are much worse than janitors' and/or maids'
Thank you so much,
Maura E.