Title: Start Stop trace control
Last modified: August 30, 2016

---

# Start Stop trace control

 *  Resolved [toonbon](https://wordpress.org/support/users/toonbon/)
 * (@toonbon)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/start-stop-trace-control/)
 * I’m new to Query Monitor and it seems that there should be a way to start and
   stop the trace. For example, if I’m on a page where I can select a product to
   buy I’d like to know what happens in the code when I press that BUY button: what
   plugins are called, what hooks fire, what DB calls are made, etc. The site will
   probably take me to a page with a form with credit card info and when I hit SUBMIT
   and I’d like to know next what happens starting with the SUBMIT click, so I want
   to clear all the data up to that point and click the button. I’ll expect I’ll
   go through Woo Commerce, Stripe, etc. I want to see all that.
 * Is there a way to set this up or am I not understanding the way you use Query
   Monitor?
 * Thanks for any help.
 * [https://wordpress.org/plugins/query-monitor/](https://wordpress.org/plugins/query-monitor/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/start-stop-trace-control/#post-6421777)
 * That’s not currently possible with Query Monitor, but it’s something that’s been
   on my mind for a long while now. The same thing applies to pages which redirect
   you to another page.
 * QM collects data about what happens during a form submission (a POST request),
   but as soon as your site redirects to the next page then this information is 
   lost and it starts afresh.
 * A long-term goal for QM is to implement persistent logging, which would then 
   enable you to view the data collected during form submissions, but I don’t have
   an ETA for this yet.
 *  Thread Starter [toonbon](https://wordpress.org/support/users/toonbon/)
 * (@toonbon)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/start-stop-trace-control/#post-6421807)
 * Ok, but just so I’m clear what is the period over which the data is currently
   collected, and when is it reset?
 *  Plugin Author [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [10 years, 9 months ago](https://wordpress.org/support/topic/start-stop-trace-control/#post-6421825)
 * It’s not persistently collected at all. The data only exists in memory for the
   lifetime of the current page load (ie. usually less than one second), and is 
   discarded once the page finishes loading.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Start Stop trace control’ is closed to new replies.

 * ![](https://ps.w.org/query-monitor/assets/icon.svg?rev=2994095)
 * [Query Monitor](https://wordpress.org/plugins/query-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/query-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-monitor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [John Blackbourn](https://wordpress.org/support/users/johnbillion/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/start-stop-trace-control/#post-6421825)
 * Status: resolved