Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6911655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:59:07+00:00 2026-05-27T08:59:07+00:00

Good morning, I am trying to use the Valgrind debugger to step through a

  • 0

Good morning, I am trying to use the Valgrind debugger to step through a program.

My valgrind command line is valgrind -tool memcheck --leak-check=full --db-enable=yes ./MatchUpAcurate.exe.

I am using valgrind-3.5.0 on Centos Linux release 5.5 with gdb version 7,0.1-23.el5_5.2.

I enter Yes when valgrind asks the question Attach to Debugger. Then, the valgrind debugger returns with: 4428: return new tuple2<int,A>(2, i++, p->next());

When I try to use the gdb step or continue command, valgrind says

[New Thread 0x410fd10 (LWP 6548] Cannot find user-level thread for LWP 6551: generic error.

When I try to use valgrind --single-step=yes debugger option on the valgrind command-line, valgriind says Bad option aborting.

Could any valgrind users show me how to step through C++ source code or continue through a program? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:59:07+00:00Added an answer on May 27, 2026 at 8:59 am

    You can also get vgdb in the 3.7.0 release. From the release notes:

    • GDB server: Valgrind now has an embedded GDB server. That means it
      is possible to control a Valgrind run from GDB, doing all the usual
      things that GDB can do (single stepping, breakpoints, examining
      data, etc). Tool-specific functionality is also available. For
      example, it is possible to query the definedness state of variables
      or memory from within GDB when running Memcheck; arbitrarily large
      memory watchpoints are supported, etc. To use the GDB server, start
      Valgrind with the flag –vgdb-error=0 and follow the on-screen
      instructions.

    There’s more info in the valgrind online manual.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good morning, I am trying to local test my web application, which makes use
Good morning, I'm trying to connect to a site using SSL and always receive
Good morning, I am trying to pass a string to twitter, using the following
Good Morning, Just a quick question what this field actually means? I am trying
Good morning, I a linking to an Oracle Data (table) through ODBC. I do
Good morning friendly Flashers ;) So I've been trying since yesterday to just load
Good Morning , I have been trying to make a dynamic message box on
Good Morning, I have a SharePoint site that I've been trying to fix up
Good Morning everyone, I am using an update command in php to update data
Good morning I'm trying to get a table row (TR) that must have one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.