The delete snapshot Command

Use the delete snapshot * and delete snapshot all commands to delete all the snapshots that have been saved from the current process. Use delete snapshot snapshot_id_list to delete the specified snapshots. If no snapshots are specified, the most-recently saved existing snapshot is deleted.

 

delete_snapshot_command

        : delete snapshot [ snapshot_id_list ]

 

snapshot_id_list

        : snapshot_id ,...

        | all

        | *

 

snapshot_id

        : expression

 

For example:

 

(idb) show snapshot all

# 1 saved at 13:27:54 (PID: 29077).

    stopped at [int main(void):182 0x1200023f8]

    182     List<Node> nodeList;

(idb) delete snapshot

(idb) show snapshot all

No snapshots have been saved.