Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    debugging suggestions/student

    I am in Internet Programming class and I have assignments due in the next few days...I am stuck with certain portions of my code and I wont pass unless I complete them and they are correct. I have been searching all day...can anyone tell me what is the best way to debug my code ...software suggestions that are free are certainly most welcome thanks so much Actually any suggestions of any type ...Im desperate!

  • #2
    Regular Coder RexxCrow's Avatar
    Join Date
    Jul 2006
    Location
    California
    Posts
    275
    Thanks
    6
    Thanked 2 Times in 2 Posts
    I heard the validator site is pretty good, even helps you fix your errors (sort of walks you through), if I understand correctly?

    http://validator.w3.org/check?verbos...5%2Ftest8.html

  • #3
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thanks Rexx

    I will look into it

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Also depends on what type of coding you are talking about. If its html then yeah the validator will do fine but if its something like JS I've always found the JS console in Firefox to be useful.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder RexxCrow's Avatar
    Join Date
    Jul 2006
    Location
    California
    Posts
    275
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Oh yea I forgot about that, the FF JS console, I started playing with that this week and am finding it to be pretty good for giving ya some guidance with things that are not acting right.

  • #6
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    Download Firefox and install Firebug.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #7
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,518
    Thanks
    3
    Thanked 506 Times in 493 Posts
    you can put an alert in the script to see what is happening to a variable at that point but

    I find placing in the HTML
    Code:
    <script> vic=0; </script>
    <form name=Show id=Show style="position:absolute;visibility:visible;top:450px;left:0px;" >
    <input size=10 name=Show0 >
    <input size=10 name=Show1 >
    <input size=10 name=Show2 >
    <input size=10 name=Show3 >
    <input size=10 name=Show4 >
    <input size=10 name=Show5 >
    <input size=10 name=Show6 >
    <input size=10 name=Show7 >
    <input size=10 name=Show8 >
    <input size=10 name=Show9 >
    </form>
    then using

    Code:
    document.Show.Show1.value=vic;
    where vic is the variable of interest
    in the code more useful
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/


  •  

    Posting Permissions

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