Home AMX User Forum NetLinx Studio

Debug Problem

When I try and use the debug option in NS I get this error :
The complied TKN file on the master controller does not match the source code file that you have selected to debug with Do you wish to continue?

Under Preferences ---> Netlinx Complier I have Compile with debug info and build with source

I have loaded different code into the same master ( another project ) and debug works fine

I have also done a format disk on the master as well as a clean disk and re uploaded the source code

Any ideas??

Comments

  • AMXJeffAMXJeff Posts: 450
    Declare at least one non_volatile variable... and try it again...
  • ondrovicondrovic Posts: 217
    that worked whats up with that?
  • Just one of those weird things (bugs) they only tell you about in Programmer III... ;)

    Kevin D.
  • ondrovicondrovic Posts: 217
    That's because most of my programs I don't declare any non_volatile vars and haven't had a problem yet. Guess they forgot to mention that to our class during programmer 3 :)
  • Joe HebertJoe Hebert Posts: 2,159
    AMXJeff wrote:
    Declare at least one non_volatile variable... and try it again...
    To avoid the debug and verify TKN gotchas I create my first define_ variable section like this:
    DEFINE_VARIABLE [b]_[/b]
    
    The underscore is a valid variable name and by default the variable is non-volatile.
Sign In or Register to comment.