Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Message Spell Checker

Discussion in 'Scripting' started by exawon, Jan 30, 2016.

  1. exawon

    exawon

    Joined:
    Dec 9, 2013
    Posts:
    12
    Last edited: Jan 26, 2018
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,370
    I would recommend getting comfortable with the debugger and then putting a breakpoint inside the function you THINK should be getting called, then when that breakpoint fails to trip, you can quickly start checking the obvious things like misspelled method names, etc.

    If I write a function, run the code and the function doesn't get called when I think it should be, the first thing I do is attach MonoDevelop debugger and put a breakpoint in and start tracing what's going on, and that draws your eye right away to the method name.
     
    A.Killingbeck likes this.
  3. exawon

    exawon

    Joined:
    Dec 9, 2013
    Posts:
    12
    Hi, Kurt.

    I don't know why you are lecturing me here about "getting started with debugging".
    However, I'm very comfortable with the debugger and I do THINK when I use it.

    As you already know well, misspelling is not the only one reason for missing a message call.
    I've intended to exclude a misspelling case from those reasons with less effort.
    Like lint and compiler warning.

    Would you tell me why I still have to trace the breakpoints
    when I know how to recognize troublesome before attaching debugger?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,370
    You are welcome to code however you see fit. Carry on!
     
    A.Killingbeck likes this.