Re: STRDBG JAR

"D*B" <[email protected]> Thu, 1 Dec 2022 17:20:39 +0100
Newsgroups gmane.comp.lang.as400.java
Message-ID <DC4AE02C905F4C7A8B66C1B982353C2D@Lisp>
<david>
Debugging java that way would drive me insane.

Considering how easy it is to debug java code, even remote, I'll always use 
some kind of modern debugger. Same as with RPG code.
</david>

Brian W. Kernighan and Rob Pike "The Practice of Programming":
As personal choice, we tend not to use debuggers beyond getting a
stack trace or the value of a variable or two. One reason is that it
is easy to get lost in details of complicated data structures and
control flow; we find stepping through a program less productive
than thinking harder and adding output statements and self-checking
code at critical places. Clicking over statements takes longer than
scanning the output of judiciously-placed displays. It takes less
time to decide where to put print statements than to single-step to
the critical section of code, even assuming we know where that
is. More important, debugging statements stay with the program;
debugging sessions are transient.
 

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com