Hi Folks,
This has really been annoying me, I read somewhere in my VB book about a type of development, like where you wonder if something is passing a value to another element of your program, so you chuck in a message box in the other element to display this value, if it does, you know it works and you delete it. Can anyone tell me what this technique is called, where you produce dummy sections of programs to test functions then remove them?
It's for a chapter in my dissertations, and I can't find where I read it! haha.
Cheers!
20 1652
Perhaps debugging? I know I've done it a lot, but I never knew there was a specific term for it.
Perhaps debugging? I know I've done it a lot, but I never knew there was a specific term for it.
No thats not it, it's annoying, it'd be a great sentance on my dissertation "I adopt a xxx development style by doing ... " It'l probably occour to me as soon as I hand in the 25,000 word paper!
No thats not it, it's annoying, it'd be a great sentance on my dissertation "I adopt a xxx development style by doing ... " It'l probably occour to me as soon as I hand in the 25,000 word paper!
Still havent figured this out....
I usually call this Tracing.
I usually call this Tracing.
Neither of them are the one from the book, but I think I will just use one of them instead. (i.e. "I have used a development method called Tracing, or 'Unit Testing', to ensure various parts of my systems are fully functional..."
Cheers folks!
Neither of them are the one from the book, but I think I will just use one of them instead. (i.e. "I have used a development method called Tracing, or 'Unit Testing', to ensure various parts of my systems are fully functional..."
Cheers folks!
Your description refers to "Debugging and Tracing", which is not a method, but merely a tool to verify the workings of your code and mainly used for error determination.
Tracing and Unit Testing are definitely not development methods!
Tracing is just what it says: tracing the working of a program, variables, settings, storage, etc.
Unit testing is the first step in a real code test cycle, where you simply verify that a basic unit of code is working according to specs. This is usually followed by Function testing, Component testing, Quality testing, Integration testing, etc. There are a lot more tests, too many to list here.
Ronald
I am so tempted to look this up tomorrow, I would have a few hours to kill if someone would have replied to my post earlier about SQL Server CE and VB ( Here ), but if not I will be spending my day *yawn* writing a simple SQL Server CE Database and Some silly program to search it. *looks into sky* if only someone already had one.... haha.
Seriously though, if I havent remembered it, I will have to look it up, it's become too big a thing now. I think it started with "G"
I am so tempted to look this up tomorrow, I would have a few hours to kill if someone would have replied to my post earlier about SQL Server CE and VB (Here ), but if not I will be spending my day *yawn* writing a simple SQL Server CE Database and Some silly program to search it. *looks into sky* if only someone already had one.... haha.
Seriously though, if I havent remembered it, I will have to look it up, it's become too big a thing now. I think it started with "G"
Logging?
Have a look at this before you finish that chapter on how you tested your program.
Logging?
Have a look at this before you finish that chapter on how you tested your program.
GREAT link. I bookmarked it.
omfg... I found it.
It's totally not what I thought it was, and I don't know if it is so mcuh of a development style, as a technique used during development.
So.... who wants to know eh?
omfg... I found it.
It's totally not what I thought it was, and I don't know if it is so mcuh of a development style, as a technique used during development.
So.... who wants to know eh?
Don't keep us waiting...hurry up and tell us!
Don't keep us waiting...hurry up and tell us!
Hehe, the name I was looking for was "Desk Checking"
Which is essentially stepping through each level of your algorithms, and creating a simple output at each stage.
i.e.
Function1 passes data to F2, which modifies it, and then passes this to F3 which then stores the data.
So if the data is not being stored place msgboxes displaying the data where there are *s
* Function1 passes data to F2*, which modifies it*, and then passes this to F3* which then stores the data.
So when you see where the data is stopping, you can find the problem, debug it, and then delete your message boxes, and ta da, your program is fixed.
Hehe, the name I was looking for was "Desk Checking"
Which is essentially stepping through each level of your algorithms, and creating a simple output at each stage.
i.e.
Function1 passes data to F2, which modifies it, and then passes this to F3 which then stores the data.
So if the data is not being stored place msgboxes displaying the data where there are *s
* Function1 passes data to F2*, which modifies it*, and then passes this to F3* which then stores the data.
So when you see where the data is stopping, you can find the problem, debug it, and then delete your message boxes, and ta da, your program is fixed.
If only debugging was as easy as that.
Banfa 9,065
Expert Mod 8TB
If only debugging was as easy as that.
Generally for most bugs it is especially with a symbolic debugger that removes the need to add and remove print statements.
Bugs that are not this easy to find can generally be categorised, i.e. race condition, memory corruption.
There are alternate methods to approach these problems too.
Generally for most bugs it is especially with a symbolic debugger that removes the need to add and remove print statements.
...
There are alternate methods to approach these problems too.
Yeah this is all very true, I was looking for this term for an academic paper I am writing though, I had come accross it in the past, but just could not remember the term.
Bugs that are not this easy to find can generally be categorised, i.e. race condition, memory corruption.
Memory corruption.... argh! The only thing that ever goes wrong with a program that isn't 100% my fault! lol
Hehe, the name I was looking for was "Desk Checking"
Which is essentially stepping through each level of your algorithms, and creating a simple output at each stage.
i.e.
Function1 passes data to F2, which modifies it, and then passes this to F3 which then stores the data.
So if the data is not being stored place msgboxes displaying the data where there are *s
* Function1 passes data to F2*, which modifies it*, and then passes this to F3* which then stores the data.
So when you see where the data is stopping, you can find the problem, debug it, and then delete your message boxes, and ta da, your program is fixed.
*puts down his shovel after digging up this old thread*
Do you have a Wikipedia link for us?
We still on about the shovel Doug?
Banfa 9,065
Expert Mod 8TB This looks like a good place to start.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Tony Marston |
last post by:
Several months ago I started a thread with the title "What is/is not
considered to be good OO programming" which started a long and
interesting discussion.
I have condensed the arguments into a...
|
by: Dave Kuhlman |
last post by:
I'd like to learn more about this style of programming in Python.
In this style or pattern, a high level class is given an instance
(or a class from which it creates an instance), then uses that...
|
by: Siddharth Jain |
last post by:
Hello,
Could someone please tell me the history of GUI programming for
windows. In the early days, we had to write 100s of lines of code to
make a simple dialog box. Then along came MFC to...
|
by: Raed Sawalha |
last post by:
I've been developing since year ago , I noticed that I developed my
programming skills in first 6 months then , my coding style and strategy been
the same, so what you advice me to develop my...
|
by: Ricky W. Hunt |
last post by:
It's dawning on my a lot of my problems with VB.NET is I'm still approaching
it in the same way I've programmed since the late 70's. I've always been
very structured, flow-charted everything, used...
|
by: Sreekanth |
last post by:
Hi all,
I have implemented a timing out version of fgets function call. I am
pasting the entire code below. I have following doubts:
1. The code which I have written does it follow standard C...
|
by: arnuld |
last post by:
hello all,
1st of all, i searched last 12 years archives of comp.lang.c++
because i have some problems. i got some help but not satisfied as i
did not get solution specific to my problem. In the...
|
by: Peter Michaux |
last post by:
Hi,
I want to know the name of an object's constructor function as a
string. Something like this
<script type="text/javascript">
function Foo(){};
var a = new Foo();
alert('"' +...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |