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 02:47 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.
Posted in Uncategorized
Views 902 Comments 1 Email Blog Entry
Total Comments 1

Comments

  1. Old Comment
    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.
    permalink
    Posted 19th June 2008 at 03:24 PM by AtomSoft AtomSoft is offline
 


All times are GMT. The time now is 05:58 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker