It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 2 articles in this topic
Showing 2 of 919 articles.
Currently 5 other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful
8:36pm Sun 4th Sep, ANONYMOUS

Hi, I am wondering how we can debug our code on ubuntu (or any other easy way)? Thank you.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
6:20am Mon 5th Sep, Christopher M.

ANONYMOUS wrote:
> I am wondering how we can debug our code on ubuntu (or any other easy way)?
If working on a standard Ubuntu distribution, the default compiler (which we invoke with cc) is gcc, and the default command-line (not GUI based) debugger is gdb. However you may need to install gdb from a package if not already installed. There are *many* online gdb tutorials, but gdb is *huge* and many tutorials attempt to describe everything. A good introductory tutorial, with just enough to get you started, is: https://www.tutorialspoint.com/gnu_debugger/index.htm

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy