Software Alternatives & Reviews

strace VS Valgrind

Compare strace VS Valgrind and see what are their differences

strace logo strace

Trace system calls and signals. A diagnostic, debugging and instructional userspace utility.

Valgrind logo Valgrind

Valgrind is an instrumentation framework for building dynamic analysis tools.
  • strace Landing page
    Landing page //
    2023-10-05
  • Valgrind Landing page
    Landing page //
    2022-01-15

strace videos

SADEL VELO FLUSH & SADEL STRACE l Unboxing dan Review Sadel Manja.. ๐Ÿ˜Š

More videos:

  • Tutorial - How to Spy on Running Programs (strace, ltrace)
  • Review - Strace: Monitoring The Kernel-User-Space Conversation - Michael Kerrisk

Valgrind videos

Detecting Memory Leaks With Valgrind

More videos:

  • Review - Finding memory errors with Valgrind
  • Review - sparcv9 New architecture to be supported by Valgrind

Category Popularity

0-100% (relative to strace and Valgrind)
IDE
54 54%
46% 46
OS & Utilities
59 59%
41% 41
Software Development
47 47%
53% 53
Monitoring Tools
45 45%
55% 55

User comments

Share your experience with using strace and Valgrind. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Valgrind seems to be more popular. It has been mentiond 36 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

strace mentions (0)

We have not tracked any mentions of strace yet. Tracking of strace recommendations started around Mar 2021.

Valgrind mentions (36)

  • Memory Safe or Bust?
    Continuous Integration and Continuous Deployment [CI/CD] pipelines play a crucial role in enforcing code quality, especially when working with memory-unsafe languages. By integrating automated dynamic analysis tools like Valgrind or AddressSanitizer, static analysis tools like Clang Static Analyzer or cppcheck, and manual code review processes, developers can identify and mitigate many memory-related... - Source: dev.to / 27 days ago
  • Top 7 C++ Tools to explore in 2024 if it's not already the case.
    Valgrind is an open-source tool designed to help developers identify memory management issues, memory leaks, and various other types of memory-related errors in their programs. It's commonly used for debugging and profiling purposes, particularly in C and C++ development. Here's an overview of Valgrind:. - Source: dev.to / 2 months ago
  • Debugging OpenGL with GDB causes shader issues
    Valgrind is a tool for debugging memory errors. We have it installed on our linux machines at work. I'm not sure how difficult this is to install and setup. You can find more info here: https://valgrind.org/. Source: 5 months ago
  • Ask HN: Good practices for my first C project
    It's often best not to think too much about "aesthetic", or performance, at first, and to focus instead on getting something that works, correctly. FWIW, The Mythical Man-Month[0] recommends to start with a few throw-away prototypes, during which you're gaining expertise over the problem, that you can later crystallize in more definite versions. Now, it doesn't mean good practices should be discarded... - Source: Hacker News / 6 months ago
  • C++ is everywhere, but noone really talks about it. What are people's thoughts?
    I think you're on the right path, yes. Usually I use Valgrind for all memory related debugging, not sure if it can help you here. Source: 10 months ago
View more

What are some alternatives?

When comparing strace and Valgrind, you can also consider the following products

OllyDbg - OllyDbg is a 32-bit assembler level analysing debugger.

perf - Perf is a simple app monitoring solution paired with meaningful alerts.

X64dbg - X64dbg is a debugging software that can debug x64 and x32 applications.

Kcachegrind - Callgrind is a profiling tool and KCachegrind is able to visualize output of the profilers.

WinDbg - WinDbg is a multipurposed debugger for Microsoft Windows, distributed on the web by Microsoft as...

API Monitor - API Monitor is a software that monitors and displays API calls made by applications and services. Its a powerful tool for seeing how Windows and other applications work or tracking down problems that you have in your own applications