Click here to Skip to main content
15,888,527 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought for the ages Pin
Mike Hankey18-Jan-21 7:50
mveMike Hankey18-Jan-21 7:50 
GeneralRe: Thought for the ages Pin
kmoorevs18-Jan-21 9:26
kmoorevs18-Jan-21 9:26 
GeneralRe: Thought for the ages Pin
dandy7218-Jan-21 10:45
dandy7218-Jan-21 10:45 
GeneralRe: Thought for the ages Pin
5teveH18-Jan-21 20:49
5teveH18-Jan-21 20:49 
GeneralRe: Thought for the ages Pin
Vivi Chellappa19-Jan-21 1:39
professionalVivi Chellappa19-Jan-21 1:39 
GeneralRe: Thought for the ages Pin
thewazz19-Jan-21 2:49
professionalthewazz19-Jan-21 2:49 
GeneralRe: Thought for the ages Pin
OriginalGriff18-Jan-21 6:42
mveOriginalGriff18-Jan-21 6:42 
GeneralRe: Thought for the ages Pin
Member 1298255818-Jan-21 7:00
Member 1298255818-Jan-21 7:00 
The very first "larger" (i.e. 4000 instructions) program I wrote was a TRAC interpreter on the PDP-9 in assembler language (I had some experience with writing assembler programs on the PDP-8). (TRAC, Text Reckoning and Compiling was an interpreted language, essentially a big macro expander, it was popular in the late 60-ies and earliy 70-ties, search for Calvin Moors for details).
As it happened, the PDP-9 had an excellent debugger -named SCALP - and since the program contained
lots of pointers I really needed this debugger from time to time (the PDP-9 had just one accumulator, no further registers).

Ever since that time I told students - I kept working in academia - to pay attention to debugging and I gave some demonstrations. But giving a "course" in debugging, no. It is too dependent on the project being debugged, so the basics are that you can interrupt the processing (breakpoints), inspect registers and execute step by step.
Of course on the PDP-9 step by step means executing single instruction, while with e.g.
the current gnu debugger (I must admit, I develop under Linux) provides lots more possibilities.

As a side note: one of the nice "features" of the PDP-9 was that you could reduce the clock speed, and - when you were experiences - could follow the execution of the program on the lights on the control panel. Came in handy when your program was looping.

Conclusion:
yes, debugging should be taught, but preferably not in a class room someone explaining all the debugger commands on a blackboard. Guided experience is needed here.
GeneralRe: Thought for the ages Pin
Nelek18-Jan-21 7:17
protectorNelek18-Jan-21 7:17 
GeneralRe: Thought for the ages Pin
W Balboos, GHB18-Jan-21 10:25
W Balboos, GHB18-Jan-21 10:25 
GeneralRe: Thought for the ages Pin
Member 1454164819-Jan-21 3:33
professionalMember 1454164819-Jan-21 3:33 
GeneralRe: Thought for the ages Pin
Ron Nicholson18-Jan-21 7:47
professionalRon Nicholson18-Jan-21 7:47 
GeneralRe: Thought for the ages Pin
OriginalGriff18-Jan-21 7:54
mveOriginalGriff18-Jan-21 7:54 
GeneralRe: Thought for the ages Pin
Ron Nicholson18-Jan-21 8:07
professionalRon Nicholson18-Jan-21 8:07 
GeneralRe: Thought for the ages Pin
raddevus18-Jan-21 8:20
mvaraddevus18-Jan-21 8:20 
GeneralRe: Thought for the ages Pin
OriginalGriff18-Jan-21 8:49
mveOriginalGriff18-Jan-21 8:49 
GeneralRe: Thought for the ages Pin
Nelek18-Jan-21 20:04
protectorNelek18-Jan-21 20:04 
GeneralRe: Thought for the ages Pin
lmoelleb18-Jan-21 20:45
lmoelleb18-Jan-21 20:45 
GeneralRe: Thought for the ages Pin
Marc Clifton18-Jan-21 7:45
mvaMarc Clifton18-Jan-21 7:45 
GeneralRe: Thought for the ages Pin
enhzflep18-Jan-21 13:36
enhzflep18-Jan-21 13:36 
GeneralRe: Thought for the ages Pin
kmoorevs18-Jan-21 8:22
kmoorevs18-Jan-21 8:22 
GeneralRe: Thought for the ages Pin
CPallini18-Jan-21 9:39
mveCPallini18-Jan-21 9:39 
GeneralRe: Thought for the ages Pin
Gary R. Wheeler18-Jan-21 10:39
Gary R. Wheeler18-Jan-21 10:39 
GeneralRe: Thought for the ages Pin
dandy7218-Jan-21 10:56
dandy7218-Jan-21 10:56 
GeneralRe: Thought for the ages Pin
Richard MacCutchan19-Jan-21 1:13
mveRichard MacCutchan19-Jan-21 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.