Support generating a stack/scope trace at an arbitrary position