title: Stopped due to shared library event - Visual Studio Code
body: <p>I am a beginner of Visual Studio Code and I try to Dedug my C++ code on it.
  I have a sample code here:</p>
  
  <pre><code>#include "iostream"    
  using namespace std;
  
  int main() {
      cout &lt;&lt; "hello world";
      return 0;
  }
  </code></pre>
  
  <p>I setup my <code>launch.json</code> as below:</p>
  
  <pre><code>{
      "version": "0.2.0",
      "configurations": [
          {
              "name": "(gdb) Launch",
              "type": "cppdbg",
              "request": "launch",
              "program": "${workspaceFolder}/hello",
              "args": [],
              "stopAtEntry": false,
              "cwd": "${workspaceFolder}",
              "environment": [],
              "externalConsole": true,
              "MIMode": "gdb",
              "setupCommands": [
                  {
                      "description": "Enable pretty-printing for gdb",
                      "text": "-enable-pretty-printing",
                      "ignoreFailures": true
                  }
              ]
          }
      ]
  }
  </code></pre>
  
  <p>When I run debug, Visual Studio Code show an error as below:</p>
  
  <pre><code>Copyright (C) 2016 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  Type "show configuration" for configuration details.
  For bug reporting instructions, please see:
  &lt;http://www.gnu.org/software/gdb/bugs/&gt;.
  Find the GDB manual and other documentation resources online at:
  &lt;http://www.gnu.org/software/gdb/documentation/&gt;.
  For help, type "help".
  Type "apropos word" to search for commands related to "word".
  =cmd-param-changed,param="pagination",value="off"
  Stopped due to shared library event (no libraries added or removed)
  Loaded '/lib64/ld-linux-x86-64.so.2'. Symbols loaded.
  
  Breakpoint 1, 0x000000000040077a in main ()
  [Inferior 1 (process 4504) exited normally]
  The program '/media/sf_E_DRIVE/Downloads/radixSA/test_vsc/hello' has exited with code 0 (0x00000000).
  </code></pre>
  
  <p>I search from Google about this error, some posts said that it's about the "Shared library event" issue. How can I ignore that error ? </p>