Debug Problem
ondrovic
Junior Member
When I try and use the debug option in NS I get this error :
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??
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
-
Declare at least one non_volatile variable... and try it again...
-
that worked whats up with that?
-
Just one of those weird things (bugs) they only tell you about in Programmer III...

Kevin D. -
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
-
To avoid the debug and verify TKN gotchas I create my first define_ variable section like this:AMXJeff wrote:Declare at least one non_volatile variable... and try it again...DEFINE_VARIABLE [b]_[/b]
The underscore is a valid variable name and by default the variable is non-volatile.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums