answersLogoWhite

0

If your question is: 'how to debug in linux', then the answer:

1. compile and link with debug information (option -g)

2. load the program with the debugger: gdb ./myprog

3. enter the following commands at the (gdb) prompt:

break main | linenumber | function

run arguments

s[tep]

n[ext]

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is Program execution in operating system?

Program Execution means that you open or run a program installed at the computer. my question how to do program execution


What is the meaning of execution and terminating the programmes?

execution is the process by which a computer carries out the instructions of a computer program. terminating program is to stop the program from execution.


What are the execution tasks of the PR process?

you can trace the lineage of the of the nco


What is meant by flow of execution a program?

That means to load a computer program into a computer's memory, and have the computer carry out the instructions in the program.


What is executive a c program?

I think it is 'execution of a C program'.


What is execution of program?

Exec. Of program is the compilation of document or the run of a type program.


How can I programmatically stop the execution of a MATLAB program?

To programmatically stop the execution of a MATLAB program, you can use the "return" statement or the "error" function to exit the program at a specific point. This will halt the execution and return control to the calling function.


What is persistence in oops explain with example?

The phenomenon where the object outlives the program execution time & exists between execution of a program is known as persistance


What is the name of a program execution mode in which a program scans its data from a file?

Batch Mode.


How do you find execution time of a program in java?

You can have the below line as the first and last line of the program and find out the difference in time taken to calculate the execution time. This will print the system time in the console which can be used to calculate execution time.System.currentTimeMillis();


What variable hasvalue that is read only and cannot be change during the program execution?

A constant is a variable with a value that is set at the time of declaration and cannot be changed during program execution.


What is Purpose of system program?

System programs provide a convenient environment for program development and execution.