Page 1 of 1 1
Topic Options
#93648 - 2002-09-14 02:12 AM Did you ever ?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Did you ever sit there for two hours trying to debug a Kix script - just can't seem to get it to work - pulling your hair out - can't fathom why its not working - then suddenly realize that your EDITING ONE SCRIPT ... and RUNNING ANOTHER !!!

DOOOOOOHHHHHH !!!!

[ 14. September 2002, 02:21: Message edited by: Shawn ]

Top
#93649 - 2002-09-14 03:26 AM Re: Did you ever ?
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Yes, but not for two hours. In the words of Homer J. Simpson... DOH! [Eek!]
Top
#93650 - 2002-09-14 03:27 AM Re: Did you ever ?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Yes, I know the pain. I was actually once editing a final release of a login script despite the fact that I intended to edit the login script that was in a designated beta folder. However, my login account was set to run the beta script out of that beta folder [Wink]

And I was wondering why whatever I was doing didn't have any effect.

So, take a break, have a cold one, and restart!
_________________________
There are two types of vessels, submarines and targets.

Top
#93651 - 2002-09-14 03:49 AM Re: Did you ever ?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
BTDTGTTS
Still, I'd never admit to two hours however. [Embarrassed]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#93652 - 2002-09-14 03:59 AM Re: Did you ever ?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
BTDTGTTS ??? Big What ??? Can I have some of those ???

Ok - maybe it just seemed like two hours ... but I did bang my head against the desk ... think I'll head out for some Dairy Queen now ... can I pick up anything for anybody ? Peanut Buster Parfait ? Mr. Misty ?

Top
#93653 - 2002-09-14 04:06 AM Re: Did you ever ?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
ROFL

Big? LOL

Hint: Been There
Done That Got The T-Shirt.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#93654 - 2002-09-14 04:10 PM Re: Did you ever ?
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Shawn,

Even more amazing.. You are debugging a script for two hours and it is simply one character off.

Now there's a good one..

- Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#93655 - 2002-09-14 05:43 PM Re: Did you ever ?
Vig Offline
Starting to like KiXtart

Registered: 2001-11-14
Posts: 166
Loc: Saudi Arabia
Two hours is nothing, but I guess thats due to experience.

I think the longest I've ever spent debugging a script was about 4-5 hours. Turns out a file I was reading from looked like a .txt smelled like a .txt but was full of jiberish notepad didnt show.

The first week I started messing around with kixtart I spent a good 80-100 hours fumbling around with it. That was one long headache.

Top
#93656 - 2002-09-14 06:28 PM Re: Did you ever ?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Vig:

It was most likely a UNICODE text file ?
_________________________
There are two types of vessels, submarines and targets.

Top
#93657 - 2002-09-14 08:02 PM Re: Did you ever ?
Vig Offline
Starting to like KiXtart

Registered: 2001-11-14
Posts: 166
Loc: Saudi Arabia
Probably, I finally realized it after creating another txt file with the same exact data in it and then comparing the file sizes. I can't remember for the life of me what program output that devilish file.
Top
#93658 - 2002-09-15 05:10 PM Re: Did you ever ?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
My worst case of debugging was the result of copy/pasting samples with curly quotes from the old .CHM help file.

I've also had cases of something in the white space that comes across in a copy/paste.  Retype the line (it still looks the same) and VOILA, it works.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#93659 - 2002-09-15 06:05 PM Re: Did you ever ?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, like the ALT+255? [Razz]
_________________________
!

download KiXnet

Top
#93660 - 2002-09-15 11:26 PM Re: Did you ever ?
DrWize Offline
Fresh Scripter

Registered: 2002-09-15
Posts: 11
Loc: Sweden
Yepps, that thing I also have done, kinda frustrating to say the least..

thats why I add an ECHO once in a while, when the errors doesnt get fixed (so I know how long the code has been running) ;-D
_________________________
_ _________________ _ Computers make very fast, very accurate mistakes

Top
#93661 - 2002-12-11 02:59 AM Re: Did you ever ?
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Shawn,

Who knows not the stories
- I have finish the job, but during the copy operation I overwrite the good one with the bad one.
- simple rewrite a complete program to prevent memory programs, when it was solved with only one compiler option.
- one patch overwrites another patch and you are thinking "why it isn't working".
- debugging can become hard, when only the moment between ending programming and starting testing is 1 or 2 hours.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1022 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.064 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org