全球FlexSim系统仿真中文论坛

标题: PF报错中如何快速找到报错的模块 [打印本页]

作者: q3358948    时间: 2022-5-27 09:29
标题: PF报错中如何快速找到报错的模块
Flexscript Error        MODEL:/Tools/ProcessFlow/ProcessFlow/Custom Code~332>variables/codeNode Line 10                Undefined variable Item_Line3_Max being used.
) g7 m$ U: A2 [4 ^! Z8 O8 YFlexscript Error        MODEL:/Tools/ProcessFlow/ProcessFlow/Custom Code~332>variables/codeNode Line 10                Invalid binary operation type
) S9 A8 @$ P  TFlexscript Error        MODEL:/Tools/ProcessFlow/ProcessFlow/Custom Code~332>variables/codeNode Line 11                Undefined variable Item_Line3_Max being used.
$ A. m6 d: {) w2 o; xFlexscript Error        MODEL:/Tools/ProcessFlow/ProcessFlow/Custom Code~332>variables/codeNode Line 11                Invalid type for left side of assignment operation. Must be valid l-value. Type is (invalid)
. r" z( Z" m2 d; I8 L' S( h/ u比如以上报错,请问如何在PF中快速找到相应的Custom Code的位置?写的PF块比较多,比较杂乱,找起来太麻烦了。。。。
! i1 d& `# ^# F4 b& Q- X- a/ B6 x
' _) D6 S6 c7 w: e' o5 [- T# x3 G  r
作者: zorsite    时间: 2022-10-25 22:03
可能有用的方法:
' ~3 `/ |( i! P2 K& |5 l1.给每个Activity起简短的、有意义的、不重复的名字。4 F  V* k8 I  C8 {7 Y* D, m4 l
2.观察出错时Token在哪个Activity中停留。
% c  O6 o$ G0 D  {# y9 Y7 [3 F3.善用Step和Skip命令。




欢迎光临 全球FlexSim系统仿真中文论坛 (http://www.flexsimasia.com/) Powered by Discuz! X3.3