Provided is a program development device for providing a development environment for a user program executed in a control device. The program development device includes a setting means which, with respect to one or each of a plurality of variables used in user programs including first and second programs which are in a call relationship, accepts a setting of attributes related to a reference from the programs. The attributes that are set include a first attribute referenced from one of the first and second programs, and a second attribute referenced from both the first and second programs. The program development device includes an evaluating means which analyzes the user programs to evaluate, with respect to the one or each of the plurality of variables, integrity based on the set attributes related to the reference from the programs.
展开▼