# CoMPASS won't run with ROOT Visual C++ debugger

**URL:** <https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857>\
**Category:** Newbie\
**Created:** [May 4, 2022, 6:46pm UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857 "2022-05-04T18:46:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahon](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rahon/32/29294_2.png) [@Rahon](https://root-forum.cern.ch/u/Rahon)\
**Post date:** [May 4, 2022, 6:46pm UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857/1 "2022-05-04T18:46:21Z")

</div>

![JIT_debug](https://root-forum.cern.ch/uploads/default/original/3X/c/2/c22d6158269a67728a28e0459660fef273709ee2.png)

Hello all,  
I’m running Root on windows with Visual C++ (which, is somehow faster than when I run a separate version on Linus Subsystem for Windows and I’m not sure why, but that is a question for another time).

Everything was running fine until I downloaded a new version of CoMPASS (CAEN’s acquisition software). I installed the software and when I try to open CoMPASS it gives an error and says the assertion failed, JIT must be enabled to debug the application (see photo). I’m not a developer in any sense so I do not understand what this means, and the Visual Studio documentation says I can enable or disable Debugging by “Clicking On the **Tools** or **Debug** menu, select **Options** \> **Debugging** \> **Just-In-Time** ” but there is no Just-In-Time button when I click through.  
Has anyone seen this error before?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 5, 2022, 7:07am UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857/2 "2022-05-05T07:07:55Z")

</div>

Well, to be able to debug your code, it should first be compiled in debug mode, but even then, if you’re not a developer, I’m not sure it would help. Do you know which version of ROOT is used?

---

<div class="post-metadata">

**Author:** ![Rahon](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rahon/32/29294_2.png) [@Rahon](https://root-forum.cern.ch/u/Rahon)\
**Post date:** [May 6, 2022, 5:01pm UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857/3 "2022-05-06T17:01:35Z")

</div>

I’m not actively trying to debug anything – it’s when I attempt to open CoMPASS (CAEN’s digital acquisition software), I get an error from ROOT saying that the Assertion failed. I have registered a help request with CAEN and if I learn anything from them I’ll post here in case anyone else runs into anything.

---

<div class="post-metadata">

**Author:** ![gerha](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/f08c70/32.png) [@gerha](https://root-forum.cern.ch/u/gerha)\
**Post date:** [November 9, 2023, 8:36am UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857/4 "2023-11-09T08:36:12Z")

</div>

Hi, I am having the same problem.  
Have you found a solution yet?

---

<div class="post-metadata">

**Author:** ![Eddy\_Offermann](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eddy_offermann/32/25079_2.png) [@Eddy\_Offermann](https://root-forum.cern.ch/u/Eddy_Offermann)\
**Post date:** [November 10, 2023, 8:26pm UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857/5 "2023-11-10T20:26:05Z")

</div>

@bellenot , I see a reference to libCling which seems to exist in the CAEN / CoMPASS package and in ROOT. Is ComPASS picking up the wrong version ?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [November 20, 2023, 10:32am UTC](https://root-forum.cern.ch/t/compass-wont-run-with-root-visual-c-debugger/49857/6 "2023-11-20T10:32:46Z")

</div>

I’ll try to figure out. @gerha can you tell me how you installed the CAEN / CoMPASS package on Windows?
