Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Destroying tied serial port

by roboticus (Chancellor)
on Dec 24, 2012 at 00:03 UTC ( #1010139=note: print w/replies, xml ) Need Help??

in reply to Re: Destroying tied serial port
in thread Destroying tied serial port


It's not embarrassing at all. In fact it's an old and quite valuable debugging technique. That's why I frequently create a simple 'test case' program to try to illustrate a bug. The act often helps you understand what's going on, and can point out interactions with other parts of your program.

It's also the reason that we frequently ask for a simple program that illustrates the problem. The act of doing that can help you answer the question yourself, which is a faster way to learn how to code.

(It's also the reason I like Test Driven Development (TDD), as it's a similar (in some ways) process.)


When your only tool is a hammer, all problems look like your thumb.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010139]
[LanX]: good morning
[choroba]: LanX good indeed
[choroba]: very cloudy here, I planned to make some picrures, but now I don't think so
[LanX]: do you like it better now?
[choroba]: Well, getting used to it
[LanX]: several people told me they like saigon. ..
[choroba]: well, beer is good here, surprisingly

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-02-26 04:29 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.