# Clear dfx transaction queue?

**URL:** <https://forum.dfinity.org/t/clear-dfx-transaction-queue/7727>\
**Category:** Developers\
**Created:** [October 6, 2021, 1:59pm UTC](https://forum.dfinity.org/t/clear-dfx-transaction-queue/7727 "2021-10-06T13:59:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [October 6, 2021, 1:59pm UTC](https://forum.dfinity.org/t/clear-dfx-transaction-queue/7727/1 "2021-10-06T13:59:01Z")

</div>

So I either have an infinite loop or a bunch of Debug.prints inside of a highly iterated loop. Is there a way to stop dfx, clear the pending transaction queue and restart without doing --clean? If I cancel dfx and restart it tries to run the transaction again and I get the same wall of text. It is a pain to have to redeploy all my canisters in just the right order so they get the same ID. Maybe a feature request? Also…yes…I’ll stop writing infinite loops.😬
