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

  • Home
  • SEARCH
  • 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 7000111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:37:45+00:00 2026-05-27T20:37:45+00:00

I have made an application in which there is a file main.c which uses

  • 0

I have made an application in which there is a file main.c which uses a function from the master.c file. I would like to debug my application for all functions defined in the master.c file by using gdb tool. Is this possible and if so how?

  • 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-27T20:37:46+00:00Added an answer on May 27, 2026 at 8:37 pm

    You must compile your program using -g flag.

    Then you start gdb your_program and set break points: break master.c:37 that will set a break point on master.c, line #37 or you could set breaks at functions: break foo().

    Then start your program by run and continue with the debugging process, inspect, continue, watch, display…

    http://www.gnu.org/software/gdb/

    http://www.gnu.org/software/gdb/documentation/

    http://www.cs.cmu.edu/~gilpin/tutorial/

    Google for more documentation on using gdb.

    Of course there is:

    Debug a running program with gdb

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

Sidebar

Related Questions

I have made a swings application but there is one problem in that which
I have made a web application that uses master page for Login & Logout
I made a Java application which I would like to distribute on Windows, OSX
I have made a Flex+PHP based application in which there is a functionality to
I have successfully made an facebook application which shows real time data from facebook
I have made one application in which I implemented ePub reader which unzips file
I have made a sample application which constructs a filter graph to capture audio
i have a windows application made in VB.NET which maintains a database, and i
I have an application in which we use a hand-made build system.The reason for
I have made an out-of-browser silverlight application which I want to automatically update every

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.