[ http://issues.apache.org/jira/browse/AXISCPP-641?page=comments#action_65122 ] Mark Whitlock commented on AXISCPP-641: ---------------------------------------
This JIRA may fix AXISCPP-643 as well > Trace output parameters on methods > ---------------------------------- > > Key: AXISCPP-641 > URL: http://issues.apache.org/jira/browse/AXISCPP-641 > Project: Axis-C++ > Type: Bug > Components: Trace Utility > Reporter: Mark Whitlock > Assignee: Mark Whitlock > > Currently the trace tool traces all parameters to a method on entry to that > method, and the return value on exit. However parameters passed by address or > reference may be updated by the method and so are really output or inout > parameters. These inout/output parameters should be traced on exit from the > method. This is slightly harder than it looks since the entry trace must > cache pointers and references to cope with code like... > void func(int *p1) { > *p1 = 5; > p1 = new int; > *p1 = 6; > } > The caller of this method gets back 5 not 6. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
