Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 19 in printed book and digital formats -- plus a one-year subscription (beginning with 20.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 20.2 ('Colorominoes')
Instant purchase and download via GumRoad!

COLUMN

Debugging Basics 1

Learning about bugs

Issue: 20.2 (March/April 2022)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 18,502
Starting Page Number: 68
Article Number: 20206
Related Link(s): None

Excerpt of article text...

I will admit upfront that I'm definitely a debugging novice. I was never properly trained as a programmer and my early experience was pretty much limited to printing out the contents of variables to see if they matched what I expected.

All that said, I'm not sure it matters much. Debugging is like any programming skill: you can always get better and more efficient, but whatever gets the job done is good enough.

So despite my lack of expertise on the topic, I'm going to write about debugging for the next few episodes of Beginner's Corner. (I'm sure you're tired of me talking about PDFs, so perhaps this will be better.)

Please, if you have any comments, corrections, or tips on improving what I say, please let me know and I may include them in future columns.

What Is Debugging?

Let's begin with the most basic thing of all: defining debugging. Sure, it's "finding errors in your code"—but it's also so much more than that. An "error," after all, is a broad term.

...End of Excerpt. Please purchase the magazine to read the full article.