# Saving all the debugging state

**URL:** <https://community.hex-rays.com/t/saving-all-the-debugging-state/143>\
**Category:** IDA General\
**Created:** [February 10, 2025, 10:38am UTC](https://community.hex-rays.com/t/saving-all-the-debugging-state/143 "2025-02-10T10:38:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avics](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/avics/32/47_2.png) [@avics](https://community.hex-rays.com/u/avics)\
**Post date:** [February 10, 2025, 10:38am UTC](https://community.hex-rays.com/t/saving-all-the-debugging-state/143/1 "2025-02-10T10:38:18Z")

</div>

Hi,

Currently I am debugging a win32 application in IDA Pro which crashes at a certain point. All dlls have been loaded etc. I can save of course the idb but I really would like to save all the segments, including the debugger segments. Is there a way to tell IDA to do that without I have to go over every individual segment to unset the ‘D’ in the segment window?

Avi.

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [February 10, 2025, 10:53am UTC](https://community.hex-rays.com/t/saving-all-the-debugging-state/143/2 "2025-02-10T10:53:32Z")

</div>

1. Use “analyze module” from the Modules window’s context menu
2. use Debugger \> Take Memory snapshot and pick “All segments”.  
Warning: this will read **all** memory, including heap and stack and may take a long time and a lot of disk space.

---

<div class="post-metadata">

**Author:** ![avics](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/avics/32/47_2.png) [@avics](https://community.hex-rays.com/u/avics)\
**Post date:** [February 10, 2025, 11:05am UTC](https://community.hex-rays.com/t/saving-all-the-debugging-state/143/3 "2025-02-10T11:05:28Z")

</div>

Hi Igor,

Thank you!

Avi.
