You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add initial remote debugging support and update related components
- Introduced remote debugging capabilities with debugpy.
- Updated changelog to reflect new feature.
- Added debugpy dependency in pyproject.toml and requirements-dev.txt.
- Integrated debugpy initialization in business operation, process, and service classes.
- Enhanced test cases to accommodate debugging features.
Copy file name to clipboardExpand all lines: src/iop/_business_service.py
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,15 @@ class _BusinessService(_BusinessHost):
16
16
Adapter=adapter=None
17
17
_wait_for_next_call_interval=False
18
18
19
+
def_dispatch_on_init(self, host_object) ->None:
20
+
"""For internal use only."""
21
+
22
+
self._debugpy(host_object=host_object)
23
+
24
+
self.on_init()
25
+
26
+
return
27
+
19
28
defon_process_input(self, message_input):
20
29
""" Receives the message from the inbond adapter via the PRocessInput method and is responsible for forwarding it to target business processes or operations.
21
30
If the business service does not specify an adapter, then the default adapter calls this method with no message
SettSC = $$$ERROR($$$EnsErrGeneral,$$$FormatText("Unable to delete proxy class for remote class '%1' : '%2'.",pClassname,$System.Status.GetErrorText(tSC)))
88
88
Quit
89
89
}
90
90
} Else {
91
-
SettSC = $$$ERROR($$$EnsErrGeneral,$$$FormatText("Cannot delete class '%1' because it is not a PEX proxy class.",pClassname))
91
+
SettSC = $$$ERROR($$$EnsErrGeneral,$$$FormatText("Cannot delete class '%1' because it is not a IOP proxy class.",pClassname))
If '$Case($P(tSuperClass,".",*),"DuplexProcess":1,"DuplexService":1,"DuplexOperation":1,"InboundAdapter":1,"OutboundAdapter":1,"BusinessService":1,"BusinessProcess":1,"BusinessOperation":1,:0) {
0 commit comments