EasyManuals Logo

AMX NETLINX STUDIO V2.4 User Manual

AMX NETLINX STUDIO V2.4
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #197 background imageLoading...
Page #197 background image
Troubleshooting
185
N
etLinx Studio (v2.4 or higher)
Troubleshooting
NetLinx Debugger Not Stopping On A Breakpoint
Symptoms
A breakpoint is set on a line of code, but the code does not stop execution on this line. The line of
code in question contains a SEND_COMMAND, SEND_STRING, or SEND_LEVEL.
Cause
The debugger will not stop on a line of code that sends a command, string, or level because of a
device declared as an integer instead of a DEVICE:PORT:SYSTEM (D:P:S) structure.
Example:
DEFINE_DEVICE
VCR = 2
TP = 128
DEFINE_EVENT
BUTTON_EVENT[TP,101]
{
PUSH:
{
SEND_COMMAND VCR," 'SP', 9" //The debugger will not stop if you put a
breakpoint here
}
}
Resolution
Declare devices using the full D:P:S structure. In fact, you should always do this in Netlinx.
Example:
DEFINE_DEVICE
VCR = 2:1:0
TP = 128:1:0
DEFINE_EVENT
BUTTON_EVENT[TP,101]
{
PUSH:
{
SEND_COMMAND VCR," 'SP', 9" //The debugger will now stop if you put a
breakpoint here
}
}

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMX NETLINX STUDIO V2.4 and is the answer not in the manual?

AMX NETLINX STUDIO V2.4 Specifications

General IconGeneral
BrandAMX
ModelNETLINX STUDIO V2.4
CategorySoftware
LanguageEnglish

Related product manuals