Query pdp with tracing support