Skip to main content
added 98 characters in body
Source Link
Vincent Tang
  • 173
  • 1
  • 1
  • 9

I need some clarifications on how GDB works in the IDE environment on cloud9

Is there two things different types of debuggers that the IDE environment?

  • Debugger, through debug command input which looks does step by step compilation / checks inputs? (for source file)

  • GDB, which checks the executable program?

Also, how do you pass arguments into GDB? I can't seem to figure this out.

I'm looking at pset4 and want to run GDB on the executable "copy" and pass in an input and an output file name

how would i do that in the terminal

EDIT

also my debugger is always broken as well

I need some clarifications on how GDB works in the IDE environment on cloud9

Is there two things different types of debuggers that the IDE environment?

  • Debugger, through debug command input which looks does step by step compilation / checks inputs? (for source file)

  • GDB, which checks the executable program?

Also, how do you pass arguments into GDB? I can't seem to figure this out.

I'm looking at pset4 and want to run GDB on the executable "copy" and pass in an input and an output file name

how would i do that in the terminal

I need some clarifications on how GDB works in the IDE environment on cloud9

Is there two things different types of debuggers that the IDE environment?

  • Debugger, through debug command input which looks does step by step compilation / checks inputs? (for source file)

  • GDB, which checks the executable program?

Also, how do you pass arguments into GDB? I can't seem to figure this out.

I'm looking at pset4 and want to run GDB on the executable "copy" and pass in an input and an output file name

how would i do that in the terminal

EDIT

also my debugger is always broken as well

Source Link
Vincent Tang
  • 173
  • 1
  • 1
  • 9

How do you pass arguments into GDB argv[1] argv[2]?

I need some clarifications on how GDB works in the IDE environment on cloud9

Is there two things different types of debuggers that the IDE environment?

  • Debugger, through debug command input which looks does step by step compilation / checks inputs? (for source file)

  • GDB, which checks the executable program?

Also, how do you pass arguments into GDB? I can't seem to figure this out.

I'm looking at pset4 and want to run GDB on the executable "copy" and pass in an input and an output file name

how would i do that in the terminal