4

I recently read in a magazine that there is a new commercial developer tool for Windows which monitors a C++ program's execution and creates traces for visual inspection. I, however, cannot remember the tool's name (it is not Insure++ and also not BugTrapper). In the resulting trace, you see every code line that was visited, you can see in which order it happened, and you can see the call stack at any point in the lifetime of the program.

Does anyone know this tool's name or a similar tool?

Many thanks in advance

/Frank

  • I found the magazine article again: the tool I was looking for is called Software Diagnostics (http://www.softwarediagnostics.com). I will accept ttchong's answer, because GDB has a set of commands for program tracing. –  Jul 16 '10 at 16:26

3 Answers3

1

I use GDB and I still love it.

Edit: Thanks for @T.E.D, it may be GPROF which report hits count on code line/segment visited.

ttchong
  • 307
  • 2
  • 9
  • 1
    I almost +1'd this, except it doesn't really answer the question ;) – Cam Jul 16 '10 at 14:51
  • @incrediman - GDB do the thing that the question is asking for. – ttchong Jul 16 '10 at 14:54
  • 2
    No, the proper tool for what he is asking after is gprof, not gdb. – T.E.D. Jul 16 '10 at 15:03
  • @T.E.D: By referring to debugger like Insure++ and BugTrappe. I guess he is asking for debugger instead of profiler. Anyway look again at the question "...see every code line that was visited...", it seem he is really asking for profiler instead. Kudos to you! – ttchong Jul 16 '10 at 15:29
  • gprof produces *traces*? I thought it produced profile data and perhaps dynamic call graphs. – Ira Baxter Apr 08 '11 at 17:23
1

Similar tool: Valgrind

Gianni
  • 4,300
  • 18
  • 24
0

AutomatedQA TestComplete, or AQTime

rwong
  • 6,062
  • 1
  • 23
  • 51