您可以通过退出 IDE 并编辑[Watches]
.DSK 文件中的部分来快速将监视添加到您的项目中。
这是一个示例,我想复制和修改一组 8 个手表(Watch4..Watch11):
前
[Watches]
Count=12
Watch0='AEvent.getcustomfieldvaluebyname(splantaskfromdate)',256,0,18,1,1,'Watches',1
Watch1='AEvent.getcustomfieldvaluebyname(splantasktodate)',256,0,18,1,1,'Watches',1
Watch2='aevent.start',256,0,18,1,1,'Watches',1
Watch3='aevent.finish',256,0,18,1,1,'Watches',1
Watch4='FDMPPlan.FEvent1833.start',256,0,18,1,1,'Watches',1
Watch5='FDMPPlan.FEvent1833.finish',256,0,18,1,1,'Watches',1
Watch6='FDMPPlan.FEvent1833.getcustomfieldvaluebyname(''tt_fromdate'')',256,0,18,1,1,'Watches',1
Watch7='FDMPPlan.FEvent1833.getcustomfieldvaluebyname(''tt_todate'')',256,0,18,1,1,'Watches',1
Watch8='FEvent1833.start',256,0,18,1,1,'Watches',1
Watch9='FEvent1833.finish',256,0,18,1,1,'Watches',1
Watch10='FEvent1833.getcustomfieldvaluebyname(''tt_fromdate'')',256,0,18,1,1,'Watches',1
Watch11='FEvent1833.getcustomfieldvaluebyname(''tt_todate'')',256,0,18,1,1,'Watches',1
后
[Watches]
Count=20
Watch0='AEvent.getcustomfieldvaluebyname(splantaskfromdate)',256,0,18,1,1,'Watches',1
Watch1='AEvent.getcustomfieldvaluebyname(splantasktodate)',256,0,18,1,1,'Watches',1
Watch2='aevent.start',256,0,18,1,1,'Watches',1
Watch3='aevent.finish',256,0,18,1,1,'Watches',1
Watch4='FDMPPlan.FEvent1833.start',256,0,18,1,1,'Watches',1
Watch5='FDMPPlan.FEvent1833.finish',256,0,18,1,1,'Watches',1
Watch6='FDMPPlan.FEvent1833.getcustomfieldvaluebyname(''tt_fromdate'')',256,0,18,1,1,'Watches',1
Watch7='FDMPPlan.FEvent1833.getcustomfieldvaluebyname(''tt_todate'')',256,0,18,1,1,'Watches',1
Watch8='FEvent1833.start',256,0,18,1,1,'Watches',1
Watch9='FEvent1833.finish',256,0,18,1,1,'Watches',1
Watch10='FEvent1833.getcustomfieldvaluebyname(''tt_fromdate'')',256,0,18,1,1,'Watches',1
Watch11='FEvent1833.getcustomfieldvaluebyname(''tt_todate'')',256,0,18,1,1,'Watches',1
Watch12='FDMPPlan.FEvent1834.start',256,0,18,1,1,'Watches',1
Watch13='FDMPPlan.FEvent1834.finish',256,0,18,1,1,'Watches',1
Watch14='FDMPPlan.FEvent1834.getcustomfieldvaluebyname(''tt_fromdate'')',256,0,18,1,1,'Watches',1
Watch15='FDMPPlan.FEvent1834.getcustomfieldvaluebyname(''tt_todate'')',256,0,18,1,1,'Watches',1
Watch16='FEvent1834.start',256,0,18,1,1,'Watches',1
Watch17='FEvent1834.finish',256,0,18,1,1,'Watches',1
Watch18='FEvent1834.getcustomfieldvaluebyname(''tt_fromdate'')',256,0,18,1,1,'Watches',1
Watch19='FEvent1834.getcustomfieldvaluebyname(''tt_todate'')',256,0,18,1,1,'Watches',1