# Error running ROOT Macros in VSCode in Windows

**URL:** <https://root-forum.cern.ch/t/error-running-root-macros-in-vscode-in-windows/56595>\
**Category:** Newbie\
**Created:** [October 4, 2023, 10:06am UTC](https://root-forum.cern.ch/t/error-running-root-macros-in-vscode-in-windows/56595 "2023-10-04T10:06:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![P\_T](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/p_t/32/34661_2.png) [@P\_T](https://root-forum.cern.ch/u/P_T)\
**Post date:** [October 4, 2023, 10:06am UTC](https://root-forum.cern.ch/t/error-running-root-macros-in-vscode-in-windows/56595/1 "2023-10-04T10:06:58Z")

</div>

I am completely new to ROOT and C++ and I wanted to try to run ROOT in VSCode on Windows 11. I have followed the instructions according to the “How to run ROOT Macros in VS Code” Tutorial from 31 March 2021 (I am not allowed to post any links since I am new) . However, when I press `F5` at the end, Call Stack [1] is paused on exception. This is what it looks like:

 ![call stack](https://root-forum.cern.ch/uploads/default/original/3X/6/9/69fe04557ef4d43f3b45026dd696d7e2dafa596d.png)

I have also noted that the format of the paths in the file `hsimple_C_ACLiC_map.in` seems to be wrong. The file paths contain both forward slashes and backward slashes.

 ![format](https://root-forum.cern.ch/uploads/default/original/3X/8/d/8db1ba2ba3f01e79a4ef4414c2974befa440e3c5.png)

I would appreciate any help and please ask for further information if necessary, I am getting started with ROOT so I was not quite sure what to show.

_ROOT Version:_ root\_v6.28.04  
_Platform:_ Windows 11  
_Compiler:_ g++ 13.1.0

* * *

---

<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:** [October 4, 2023, 12:19pm UTC](https://root-forum.cern.ch/t/error-running-root-macros-in-vscode-in-windows/56595/2 "2023-10-04T12:19:21Z")

</div>

Welcome to the ROOT Forum!  
It looks like you try to run with the Windows native binaries, but AFAIK, running ROOT in VSCode only works on Linux (or in WSL)…
