> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tenderly.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging Transactions

> Virtual Environment पर एक transaction को replay और debug करें, इसके execution के माध्यम से step करें, और state changes तथा revert कारणों का निरीक्षण करें।

[Tenderly Debugger](/debugger/overview) Virtual Environment पर executed transactions पर समर्थित है। आप इसका उपयोग अपने Virtual Environment पर executed transactions को inspect और debug करने के लिए कर सकते हैं, उसी functionality के साथ जैसे कि आप real transactions को debug कर रहे हों।

Debugger के काम करने के लिए, यह एक ऐसे contract से आना चाहिए जो parent network पर, Tenderly पर, या Virtual Environment पर verify किया गया हो।

**Virtual Environment Explorer** में किसी भी transaction पर और फिर **Debugger** पर क्लिक करके Debugger तक पहुँचें।

[Loom पर देखें →](https://www.loom.com/share/09413e8a867f4ddeaa41a5080d771895?sid=b8f60cda-fcb8-401b-ba9a-8bb69630fe9a)

Debugger transaction errors को खोजने और ठीक करने में आपकी कैसे मदद कर सकता है?

* किसी भी transaction के function calls के माध्यम से नेविगेट करें।
* उत्सर्जित events और state changes का विश्लेषण करें।
* [Gas Profiler](/debugger/gas-profiler) के साथ सटीक gas usage विवरण प्राप्त करें।

यदि debugging आपके द्वारा inspect किए जा रहे smart contract में एक logical error प्रकट करती है, तो आप bug-fixed code के विरुद्ध विफल transaction को चलाने के लिए **Edit Source Code** के साथ [Simulator UI](/simulator-ui/overview) का उपयोग कर सकते हैं। code-base पर लागू करने और फिर से deploy करने से पहले bug fix को validate करने का यह एक त्वरित तरीका है।
