全球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.
6 e5 m6 h4 m& H6 J' _Flexscript Error        MODEL:/Tools/ProcessFlow/ProcessFlow/Custom Code~332>variables/codeNode Line 10                Invalid binary operation type
) b9 U0 ^9 _) L9 R+ C- p7 E% GFlexscript Error        MODEL:/Tools/ProcessFlow/ProcessFlow/Custom Code~332>variables/codeNode Line 11                Undefined variable Item_Line3_Max being used." T# w4 Y# [8 r1 _* Q/ f% g
Flexscript 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)2 v- |( f( L3 P6 F, h! A4 k
比如以上报错,请问如何在PF中快速找到相应的Custom Code的位置?写的PF块比较多,比较杂乱,找起来太麻烦了。。。。
3 k; O" v3 g( j5 f, }6 E4 ^; m' S5 B4 R+ _; W

作者: zorsite    时间: 2022-10-25 22:03
可能有用的方法:
6 i# G& B1 @) h1.给每个Activity起简短的、有意义的、不重复的名字。) P$ {) ~4 }" _2 G; V( Y
2.观察出错时Token在哪个Activity中停留。+ s8 j) ]5 a4 P7 @3 A1 \3 n+ ^: m
3.善用Step和Skip命令。




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