# \#debug

**URL:** https://discourse.slicer.org/tag/debug/333.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [Please advise - Slicer wiped older dicoms/segmentations when editing other files ](https://discourse.slicer.org/t/please-advise-slicer-wiped-older-dicoms-segmentations-when-editing-other-files/45349)

<div class="topic-metadata">

**Author:** [@Sus\_Mu](https://discourse.slicer.org/u/Sus_Mu)\
**Replies:** 3\
**Last updated:** [December 5, 2025, 12:05am UTC](https://discourse.slicer.org/t/please-advise-slicer-wiped-older-dicoms-segmentations-when-editing-other-files/45349 "2025-12-05T00:05:52Z")

</div>

I am working on a project with batches of segmentations. Batch A (prepared in October) and Batch B (prepared in November) were saved on my computer, without meaningful backup through TimeMachine or iCloud. I also have a…

---

## [Debugging a python script in pycharm](https://discourse.slicer.org/t/debugging-a-python-script-in-pycharm/36585)

<div class="topic-metadata">

**Author:** [@RomanStriker](https://discourse.slicer.org/u/RomanStriker)\
**Replies:** 1\
**Last updated:** [June 4, 2024, 4:10pm UTC](https://discourse.slicer.org/t/debugging-a-python-script-in-pycharm/36585 "2024-06-04T16:10:18Z")

</div>

Hi, I have a python script that I would like to debug step by step. I managed to attach Pycharm’s remote debugger to Slicer using these instructions, however, I cannot run the python script in the Slicer GUI’s python co…

---

## [Debugging Issues using VS Code](https://discourse.slicer.org/t/debugging-issues-using-vs-code/35291)

<div class="topic-metadata">

**Author:** [@Istvan](https://discourse.slicer.org/u/Istvan)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 3:51pm UTC](https://discourse.slicer.org/t/debugging-issues-using-vs-code/35291 "2024-04-04T15:51:03Z")

</div>

Hi, Windows version: 10.0.19045 Slicer Version: 4.11.20200930 r29402 / 002be18 VS Code version: 1.87.2 in order to make a debugging in VS Code using the Python debugger module of Slicer I´ve followed the instructrion…

---

## [Using slicer as a Jupyter kernel, how to set up a variable inspector](https://discourse.slicer.org/t/using-slicer-as-a-jupyter-kernel-how-to-set-up-a-variable-inspector/35054)

<div class="topic-metadata">

**Author:** [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Replies:** 0\
**Last updated:** [March 25, 2024, 1:51pm UTC](https://discourse.slicer.org/t/using-slicer-as-a-jupyter-kernel-how-to-set-up-a-variable-inspector/35054 "2024-03-25T13:51:43Z")

</div>

Hello, I recently started to use Slicer as a Jupyter kernel. I’m setting up the environment and I’m trying to set up a variable inspector. I installed this extension however, it’s not working. When I launch a noteb…

---

## [Python debug against Slicer \`HEAD\`](https://discourse.slicer.org/t/python-debug-against-slicer-head/32670)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [November 14, 2023, 9:35pm UTC](https://discourse.slicer.org/t/python-debug-against-slicer-head/32670 "2023-11-14T21:35:04Z")

</div>

Hi, I have visited the 3D Slicer documentation Python debugging documentation: Python debugging — 3D Slicer documentation And have visited the SlicerDebuggingTools README: GitHub - SlicerRt/SlicerDebuggingTools: Exte…

---

## [Model Maker module not producing a model](https://discourse.slicer.org/t/model-maker-module-not-producing-a-model/29946)

<div class="topic-metadata">

**Author:** [@devjklein](https://discourse.slicer.org/u/devjklein)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 9:11pm UTC](https://discourse.slicer.org/t/model-maker-module-not-producing-a-model/29946 "2023-06-09T21:11:45Z")

</div>

Hi all, I am on version 5.2.2 on Windows 11 and trying to run Model Maker on a dataset that I segmented. In IO I pick my segmentation, I created a new ModelHierachy, and I click apply. The module runs, but no 3D surface …

---

## [Debugging cannot attach on Linux?](https://discourse.slicer.org/t/debugging-cannot-attach-on-linux/24526)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 1\
**Last updated:** [August 1, 2022, 9:29am UTC](https://discourse.slicer.org/t/debugging-cannot-attach-on-linux/24526 "2022-08-01T09:29:37Z")

</div>

Hi all, I’m trying to debug Slicer (few commits after 5.0.3) on Ubuntu 20.04. I built Slicer in debug mode, and tried the following: Attach debugger from VS Code after starting the debug Slicer with its launcher (Slic…

---

## [How can I debug the Basic Module of 3D Slicer?](https://discourse.slicer.org/t/how-can-i-debug-the-basic-module-of-3d-slicer/20593)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 9\
**Last updated:** [November 23, 2021, 1:08am UTC](https://discourse.slicer.org/t/how-can-i-debug-the-basic-module-of-3d-slicer/20593 "2021-11-23T01:08:32Z")

</div>

Hi, I am making my moudle via 3D Slicer. I want to save text file of HounsFiled Unit that I had segmented by using Segmentation , Segmentation Editor in 3D Slicer. but I don’t know segmentation algorithm well. so I tri…

---

## [Install extensions in Slicer in Debug](https://discourse.slicer.org/t/install-extensions-in-slicer-in-debug/20724)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 6:32pm UTC](https://discourse.slicer.org/t/install-extensions-in-slicer-in-debug/20724 "2021-11-22T18:32:36Z")

</div>

Hi, To troubleshoot a crash, I’ve compiled Slicer in Debug. However, my scripted module relies on two extensions (IGSIO and IGT) and I now want to launch Slicer in Debug while loading them. From what I have read, this s…

---

## [Debug Slicer crash from scripted module](https://discourse.slicer.org/t/debug-slicer-crash-from-scripted-module/20657)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 9\
**Last updated:** [November 19, 2021, 9:12pm UTC](https://discourse.slicer.org/t/debug-slicer-crash-from-scripted-module/20657 "2021-11-19T21:12:33Z")

</div>

Hi, At a certain stage in my scripted module, I’m experiencing a crash of Slicer that occurs around 1 out of 10 times. I have no clue what’s causing it, especially since this crash leaves no trace: no popup, nothing in …

---

## [How Can I debug the Module and create the personally Module?](https://discourse.slicer.org/t/how-can-i-debug-the-module-and-create-the-personally-module/20011)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 22\
**Last updated:** [November 17, 2021, 5:23pm UTC](https://discourse.slicer.org/t/how-can-i-debug-the-module-and-create-the-personally-module/20011 "2021-11-17T17:23:37Z")

</div>

Hello everyone. I succeeded in building Slicer master branch without SimpleITK because I can’t to solve the fix error(MSB 8066 in SimpleITK.sln) during build Slicer. and I want to debug each module and I create the mod…

---

## [Python debugging in Pycharm](https://discourse.slicer.org/t/python-debugging-in-pycharm/14461)

<div class="topic-metadata">

**Author:** [@Masteling](https://discourse.slicer.org/u/Masteling)\
**Replies:** 1\
**Last updated:** [November 6, 2020, 4:03pm UTC](https://discourse.slicer.org/t/python-debugging-in-pycharm/14461 "2020-11-06T16:03:50Z")

</div>

I have followed the steps suggested here: Documentation/Nightly/Extensions/DebuggingTools - Slicer Wiki And I am able to connect Slicer and Pycharm, however, after the connection is established this error occurs: An…
