# Error when installing SlicerDebuggingTools on SlicerCAT

**URL:** <https://discourse.slicer.org/t/error-when-installing-slicerdebuggingtools-on-slicercat/19007>\
**Category:** Development\
**Created:** [July 31, 2021, 8:45pm UTC](https://discourse.slicer.org/t/error-when-installing-slicerdebuggingtools-on-slicercat/19007 "2021-07-31T20:45:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [July 31, 2021, 8:45pm UTC](https://discourse.slicer.org/t/error-when-installing-slicerdebuggingtools-on-slicercat/19007/1 "2021-07-31T20:45:21Z")

</div>

Hi,

I’m trying to install `SlicerDebuggingTools` on SlicerCAT via Extension manager.  
Here are my steps:

1. clone zipped [SlicerDebuggingTools](https://github.com/SlicerRt/SlicerDebuggingTools) to `C:\C\Extensions`
2. in Extension Manager I click on `Install from file` and choose zipped `C:\C\Extensions\SlicerDebuggingTools.zip`  
and here I get error:  
**No extension description found in archive C:\C\Extensions\SlicerDebuggingTools.zip**

I do not have much experience of writing extensions so I don’t know yet the requirements to extension. What is the possible reason for this?

By the way I work with my SlicerCAT wich is built (Debug) but NOT installed yet.  
Windows 10 x64, MSVC 2019

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/7/9794649a67d3ab91746a49105df10cad006e7156.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 31, 2021, 10:12pm UTC](https://discourse.slicer.org/t/error-when-installing-slicerdebuggingtools-on-slicercat/19007/2 "2021-07-31T22:12:51Z")

</div>

If you build a custom application then you need to build the extensions as well. Normally you bundle all the extensions, because setting up your own extension server and asking users to install extensions is more complicated for both the custom application developers and users.

---

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [August 12, 2021, 5:45pm UTC](https://discourse.slicer.org/t/error-when-installing-slicerdebuggingtools-on-slicercat/19007/3 "2021-08-12T17:45:36Z")

</div>

Thank you,

I did it by adding these lines of code to the main `CMakeLists.txt` of my SlicerCAT:

```auto
# SlicerDebuggingTools
set(extension_name "SlicerDebuggingTools")
set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
FetchContent_Populate(${extension_name}
  SOURCE_DIR ${${extension_name}_SOURCE_DIR}
  GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/SlicerRt/SlicerDebuggingTools
  GIT_TAG 8f5436b8519e10163fd88a86f5641fe70fc6697d
  GIT_PROGRESS 1
  QUIET
  )
list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})

```
