Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Blogs > blueroomelectronics


Rate this Entry

When cut and paste goes wrong... (recycling code)

Posted 19th June 2008 at 01:46 PM by blueroomelectronics
I was working on a very simple program for the upcoming JPUG issue and as most of us probably do I like to recycle code from previous programs as a framework for the next. Well I "cleaned" up the code or so I thought added the new bits and off it went. Worked great with the debugger but very strangely when simply programmed into the target. The embarrassing part is how small the program was and I just didn't see a single program line left over from the original program that was causing havoc and tried all sorts of silly software fixes including a couple of stupid hardware ones (like touching all the parts on the Junebug looking for weak solder joints).

Of course the fix was remove the offending line of code and all was well.

Total Comments 1

Comments

Old
wow i thought i was the only one who did this lol That happens to me so many times. Glad to see you found the line that was causing so much trouble.
Posted 19th June 2008 at 02:24 PM by AtomSoft AtomSoft is offline
 
Recent Blog Entries by blueroomelectronics


All times are GMT. The time now is 11:44 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.