6 hours for a comma, a space, and some caps.....


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    With that in mind, are there any better ways to help see these obscure problems?
    With the code from post#1, the first error you would have received would be ...
    Found label after column 1. (INT_HANDLER).

    That narrows it down to one of 3 lines in the program.
    Technically, it points to the exact line, since it was the only one with INT_HANDLER in upper case.
    Commenting the lines would have easily shown which one was the problem.

    Often, it's not the line numbers in the error that give the best indications, but the (words in brackets) at the right end of the error.
    And start from the top of the error list. The first one listed is usually the most important, and resolving that one frequently fixes many of the following errors too.
    <br>
    DT

  2. #2
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default

    As a matter of fact,
    Found label after column 1. (INT_HANDLER).
    was exactly what I saw first. The problem for me was that it referenced something like line 1400 and I had not noticed the caps problem. The line number tempted me to start looking in your program to see if I could get any hints of something that I hadn't done right. I hadn't for a minute thought that your program was at fault. I was more concerned that I hadn't passed a correct parameter. I saw that DT_INTS had special handling for the 18F1230 on it's comparator interrupt and started to wonder if it was a situation similar to the 8 pin devices where GPIO aliased to some other name. A few hours were spent in that loop until, in desperation I just stripped the bone and started to make some progress.

    It was kind like "where's Waldo" for a while looking between the 2 copies until it started to become clearer.

    Again, I'm trying to pry some tricks out of the group to elevate the process for the less experienced. I'm still one of them, but I'm becoming "less" less experienced.

    Bo

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts