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
These properties are duplicated on the return event (i.e. an event where Event.event == "return"). Instead, they should be removed, and replaced with parent_id. The parent_id is a reference to the call's id property.
Events do not know about other events. However, we do "queue" the last event to be recorded, allowing it to be modified until the next event is written. When a return event is recorded, the queued event should contain the call. This may be an ideal place to set parent_id, as both the call and return events should exist in a single scope.
return events don't duplicate the function call fields.
http_server_request and sql_query don't need function call fields either.
Delivers #50
Delivers #44
# [1.3.0](v1.2.0...v1.3.0) (2021-08-02)
### Bug Fixes
* Improve robustness and logging of parent interface and superclass access ([a24f056](a24f056))
* Keep events 'open' until the next event is received ([9e12099](9e12099))
* Remove '-f' option to 'wait' ([637f904](637f904))
### Features
* Add session recording checkpoint ([04d9293](04d9293))
* Apply different fields to call, return, sql, etc ([3d8db1f](3d8db1f)), closes [#50](#50) [#44](#44)
* appmap.debug enables additional debug info ([67e935e](67e935e))
* Expand and modularize the integration test suite ([ad06488](ad06488))
* Record return event parent_id ([40be795](40be795))
* Write source location and test status metadata ([397e200](397e200))
The following properties are all specified on events where
Event.event == "call"
(see here for the official spec):lineno
path
static
defined_class
method_id
These properties are duplicated on the return event (i.e. an event where
Event.event == "return"
). Instead, they should be removed, and replaced withparent_id
. Theparent_id
is a reference to the call'sid
property.Events do not know about other events. However, we do "queue" the last event to be recorded, allowing it to be modified until the next event is written. When a return event is recorded, the queued event should contain the call. This may be an ideal place to set
parent_id
, as both the call and return events should exist in a single scope.In the code linked below,
pendingEvent
would be thecall
,event
would be thereturn
.https://github.com/applandinc/appmap-java/blob/master/src/main/java/com/appland/appmap/record/Recorder.java#L140-L141
The text was updated successfully, but these errors were encountered: