Computer Science Canada C++ debugger |
Author: | Martin [ Sun Mar 20, 2005 9:48 am ] |
Post subject: | C++ debugger |
At work I was checking out NuMega, and I think it's an absolutely brilliant tool. Damn STL memory leaks... Unfortunately, it costs over $1000 US, and I can't..err...find it anywhere else. Does anyone know of any other good debuggers? I'm set for linux, but I've been doing some DirectX development lately in Windows. |
Author: | rizzix [ Sun Mar 20, 2005 9:58 am ] |
Post subject: | |
gdb? |
Author: | md [ Sun Mar 20, 2005 12:45 pm ] |
Post subject: | |
The build in debugger of msvc is great, although that would force you to use msvc on windows... |
Author: | wtd [ Sun Mar 20, 2005 1:08 pm ] |
Post subject: | |
How are you abusing the STL that you're getting memory leaks? This sounds like less a problem with the STL than your understanding of it. Post your problems and maybe I can help you understand them a bit better. People are the most valuable debuggers. |
Author: | Martin [ Sun Mar 20, 2005 10:41 pm ] |
Post subject: | |
The problem's with STL, not me. Using C though. It's because they use strdup a lot, and don't free up the memory afterwards. I thought it was kinda funny. I'll post some stuff tomorrow. |
Author: | wtd [ Mon Mar 21, 2005 2:14 am ] |
Post subject: | |
martin wrote: Using C though.
When C++ is available? There's your problem. |
Author: | Martin [ Mon Mar 21, 2005 9:55 pm ] |
Post subject: | |
Not my problem. The government's problem. C is alright. It's fast. |
Author: | md [ Mon Mar 21, 2005 10:34 pm ] |
Post subject: | |
Despite all the fud; c and c++ are actually just as fast (with a few exceptions). so speed isn't a reason at all |
Author: | rizzix [ Mon Mar 21, 2005 11:50 pm ] |
Post subject: | |
actually for realtime apps (which i doubt martin is debugging) C's speed over c++ and other bulky langs (yea the bulky ones are harder to optimize) is quite significant. |
Author: | Martin [ Tue Mar 22, 2005 8:05 am ] |
Post subject: | |
No, not a real time app. I'm trying to get it there. No luck yet, it's an insane amount of data that I have to crunch. |
Author: | wtd [ Tue Mar 22, 2005 1:08 pm ] |
Post subject: | |
martin wrote: C is alright. It's fast.
Except for the lack of sane (and safe) libraries for wild, eccentric things like strings. |