Author |
Message |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
rizzix
|
Posted: Sun Mar 20, 2005 9:58 am Post subject: (No subject) |
|
|
gdb? ![Laughing Laughing](http://compsci.ca/v3/images/smiles/icon_lol.gif) |
|
|
|
|
![](images/spacer.gif) |
md
![](http://compsci.ca/v3/uploads/user_avatars/1849317514ed6c4399768d.png)
|
Posted: Sun Mar 20, 2005 12:45 pm Post subject: (No subject) |
|
|
The build in debugger of msvc is great, although that would force you to use msvc on windows... |
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Sun Mar 20, 2005 1:08 pm Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: Sun Mar 20, 2005 10:41 pm Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Mon Mar 21, 2005 2:14 am Post subject: (No subject) |
|
|
martin wrote: Using C though.
When C++ is available? There's your problem. |
|
|
|
|
![](images/spacer.gif) |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: Mon Mar 21, 2005 9:55 pm Post subject: (No subject) |
|
|
Not my problem.
The government's problem.
C is alright. It's fast. |
|
|
|
|
![](images/spacer.gif) |
md
![](http://compsci.ca/v3/uploads/user_avatars/1849317514ed6c4399768d.png)
|
Posted: Mon Mar 21, 2005 10:34 pm Post subject: (No 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
rizzix
|
Posted: Mon Mar 21, 2005 11:50 pm Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
Martin
![](http://www.compsci.ca/wiki/images/4/46/CanadianStickUp.jpg)
|
Posted: Tue Mar 22, 2005 8:05 am Post subject: (No 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. |
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Tue Mar 22, 2005 1:08 pm Post subject: (No subject) |
|
|
martin wrote: C is alright. It's fast.
Except for the lack of sane (and safe) libraries for wild, eccentric things like strings. |
|
|
|
|
![](images/spacer.gif) |
|