Run Code Errors
RicardoSiqueira
Junior Member
I am getting the errors below repeatedly on a system. Is there a way to know where the error is coming from? I do have duet modules in m y system (Autopatch, Integra DTR). Any ideas?
1: 02-19-2013 TUE 18:08:59 Interpreter
RunCode - Address Mismatch 0x4050 0x00184A 0x00184C
2: 02-19-2013 TUE 18:08:59 Interpreter
GetNumber - Error 1 Tk=0x0000
3: 02-19-2013 TUE 18:08:59 Interpreter
DoNumberExpression - Error 2 Tk=0x2008
4: 02-19-2013 TUE 18:08:59 Interpreter
Ref Error ? Index 0
1: 02-19-2013 TUE 18:08:59 Interpreter
RunCode - Address Mismatch 0x4050 0x00184A 0x00184C
2: 02-19-2013 TUE 18:08:59 Interpreter
GetNumber - Error 1 Tk=0x0000
3: 02-19-2013 TUE 18:08:59 Interpreter
DoNumberExpression - Error 2 Tk=0x2008
4: 02-19-2013 TUE 18:08:59 Interpreter
Ref Error ? Index 0
Comments
-
Not that I'm aware of. If you have a revision without the errors, you can backtrack and add your changes back in until it recurs so you know what code is causing it. If you don't know when it was introduced, all you can do is comment stuff out until it goes away and try to isolate it like that. It looks to me like the kind of error you would get when a module calls for a parameter of a specific variable type, and you are calling it with another type.
-
If you compile with debug info (Settings->Preferences->NetLinx Compiler->Compile With Debug Info) it may enable some file/line info. I know it is not always great insight, but it may help.
-
cwpartridge wrote: »If you compile with debug info (Settings->Preferences->NetLinx Compiler->Compile With Debug Info) it may enable some file/line info. I know it is not always great insight, but it may help.
My experience is even with debug info on, many errors do not generate a line number or any other indication where the problem came from. And when it does, they are often not accurate. Almost always, they are at least a line or two off, and sometimes they aren't even in the ballpark (if you use INCLUDE files). It's more than rather flawed. -
RicardoSiqueira wrote: »I am getting the errors below repeatedly on a system. Is there a way to know where the error is coming from? I do have duet modules in m y system (Autopatch, Integra DTR). Any ideas?
1: 02-19-2013 TUE 18:08:59 Interpreter
RunCode - Address Mismatch 0x4050 0x00184A 0x00184C
2: 02-19-2013 TUE 18:08:59 Interpreter
GetNumber - Error 1 Tk=0x0000
3: 02-19-2013 TUE 18:08:59 Interpreter
DoNumberExpression - Error 2 Tk=0x2008
4: 02-19-2013 TUE 18:08:59 Interpreter
Ref Error ? Index 0
Is this happening constantly & flooding diagnostics? Or just sporadically?
If it's flooding your diagnostics window, check define_program and look for arrays. Most likely a variable is set to zero. If it's sporadic, you'll need to try to find what triggers it by hitting buttons and running it through the ringer. My guess is it's an index to a device array.
Leave a Comment
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