script Not showing public variables until we switch in debug mode.

I just check out the project from SVN and now one of my script is not showing its variables in inspector.
until I switch the inspector in debug mode.
references are attached

![with Debug Mode]
![without debug Mode]

Do you maybe have any errors in console? This happens sometimes if there is an error in custom inspector for the script.

Also share the code, especially the part with variable declarations