Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch window does NOT show vector data correctly in Google Test debug session. #439

Closed
1 task done
khteh opened this issue Jul 30, 2024 · 2 comments
Closed
1 task done

Comments

@khteh
Copy link

khteh commented Jul 30, 2024

Checklist

  • [ x] The issue is about this extension and NOT about a fork.
  • [ x] Checked the ALL the SUPPORT document.
  • [ x] The latest version of the extension was used.
  • [ x] It is not related to remote-vscode or I checked the following issue
  • Imagine yourself into my position and think how hard to debug the issue without insufficient information.
    I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
    Thanks.

Describe the bug
image

This does NOT happen in Console application debug session:
image
To Reproduce

Screenshots (optional)

Desktop

  • Extension Version: Latest
  • VS Code Version: 1.91.1
  • Catch2 / Google Test / DOCTest Version: 1.14.0
  • OS Type and Version: Ubuntu 24.04
  • Using remote-ssh/docker/wsl?: No

Regression bug?

  • Last extension version in which the feature were working:

settings.json:

  "testMate.cpp.log.logfile": "/var/log/testMate.log",
  "testMate.cpp.debug.configTemplate": {
    "type": "cppdbg",
    "linux": { "type": "cppdbg", "MIMode": "gdb" },
    "darwin": { "type": "cppdbg", "MIMode": "lldb" },
    "win32": { "type": "cppvsdbg" },
    "program": "${exec}",
    "args": "${argsArray}",
    "cwd": "${cwd}",
    "env": "${envObj}",
    "environment": "${envObjArray}",
    "sourceFileMap": "${sourceFileMapObj}",
  },  
  "testMate.cpp.test.advancedExecutables": [
    {
      "pattern": "x64/{Debug,Release}/*{test,Test,TEST}*",
      "gtest": {
        "debug.enableOutputColouring": true
      }
    }
  ],
[2024-07-30 05:59:51.952] [INFO] resolved debugConfig: {
  name: 'AbsolutePermutationTests/0 (AbsolutePermutationTests/AbsolutePermutationTestFixture▸DataStructuresAlgorithmsTests)',
  request: 'launch',
  type: 'cppdbg',
  linux: { type: 'cppdbg', MIMode: 'gdb' },
  darwin: { type: 'cppdbg', MIMode: 'lldb' },
  win32: { type: 'cppvsdbg' },
  program: '/usr/src/DataStructuresAlgorithms/x64/Debug/DataStructuresAlgorithmsTests',
  args: [
    '--gtest_color=yes',
    '--gtest_filter=AbsolutePermutationTests/AbsolutePermutationTestFixture.AbsolutePermutationTests/0',
    '--gtest_also_run_disabled_tests',
    '--gtest_break_on_failure'
  ],
  cwd: '/usr/src/DataStructuresAlgorithms/x64/Debug',
  env: {
    ADVISOR_2024_DIR: '/opt/intel/oneapi/advisor/2024.2',
    APM: '/opt/intel/oneapi/advisor/2024.2/perfmodels',
    CCL_CONFIGURATION: 'cpu_gpu_dpcpp',
    CCL_ROOT: '/opt/intel/oneapi/ccl/2021.13',
    CHROME_DESKTOP: 'code-url-handler.desktop',
    CLASSPATH: '/opt/intel/oneapi/mpi/2021.13/share/java/mpi.jar',
    CMAKE_PREFIX_PATH: '/opt/intel/oneapi/tbb/2021.13/env/..:/opt/intel/oneapi/mkl/2024.2/lib/cmake:/opt/intel/oneapi/ipp/2021.12/lib/cmake/ipp:/opt/intel/oneapi/dpl/2022.6/lib/cmake/oneDPL:/opt/intel/oneapi/dnnl/2024.2/lib/cmake:/opt/intel/oneapi/dal/2024.5:/opt/intel/oneapi/compiler/2024.2',
    CMPLR_ROOT: '/opt/intel/oneapi/compiler/2024.2',
    COLORTERM: 'truecolor',
    CPATH: '/opt/intel/oneapi/tbb/2021.13/env/../include:/opt/intel/oneapi/mpi/2021.13/include:/opt/intel/oneapi/mkl/2024.2/include:/opt/intel/oneapi/ippcp/2021.12/include:/opt/intel/oneapi/ipp/2021.12/include:/opt/intel/oneapi/dpl/2022.6/include:/opt/intel/oneapi/dpcpp-ct/2024.2/include:/opt/intel/oneapi/dnnl/2024.2/include:/opt/intel/oneapi/dev-utilities/2024.2/include:/opt/intel/oneapi/dal/2024.5/include/dal:/opt/intel/oneapi/ccl/2021.13/include',
    DALROOT: '/opt/intel/oneapi/dal/2024.5',
    DAL_MAJOR_BINARY: '2',
    DAL_MINOR_BINARY: '0',
    DBUS_SESSION_BUS_ADDRESS: 'unix:path=/run/user/1000/bus',
    DEBUGINFOD_URLS: 'https://debuginfod.ubuntu.com ',
    DERBY_HOME: '/usr/lib/jvm/java-21-oracle-x64/db',
    DESKTOP_SESSION: 'ubuntu',
    DIAGUTIL_PATH: '/opt/intel/oneapi/dpcpp-ct/2024.2/etc/dpct/sys_check/sys_check.sh:/opt/intel/oneapi/debugger/2024.2/etc/debugger/sys_check/sys_check.py:/opt/intel/oneapi/compiler/2024.2/etc/compiler/sys_check/sys_check.sh',
    DISPLAY: ':0',
    DNNLROOT: '/opt/intel/oneapi/dnnl/2024.2',
    DOTNET_BUNDLE_EXTRACT_BASE_DIR: '/home/khteh/.cache/dotnet_bundle_extract',
    DPL_ROOT: '/opt/intel/oneapi/dpl/2022.6',
    ELECTRON_NO_ATTACH_CONSOLE: '1',
    FI_PROVIDER_PATH: '/opt/intel/oneapi/mpi/2021.13/opt/mpi/libfabric/lib/prov:/usr/lib/x86_64-linux-gnu/libfabric',
    GDB_INFO: '/opt/intel/oneapi/debugger/2024.2/share/info/',
    GDK_BACKEND: 'x11',
    GDMSESSION: 'ubuntu',
    GNOME_DESKTOP_SESSION_ID: 'this-is-deprecated',
    GNOME_SHELL_SESSION_MODE: 'ubuntu',
    GNOME_TERMINAL_SCREEN: '/org/gnome/Terminal/screen/9d485b79_8b3b_44cf_9f1c_f83459ad438f',
    GNOME_TERMINAL_SERVICE: ':1.98',
    GPG_AGENT_INFO: '/run/user/1000/gnupg/S.gpg-agent:0:1',
    GSM_SKIP_SSH_AGENT_WORKAROUND: 'true',
    GTK_MODULES: 'gail:atk-bridge',
    HOME: '/home/khteh',
    IM_CONFIG_PHASE: '1',
    INFOPATH: '/opt/intel/oneapi/debugger/2024.2/share/info',
    INTEL_PYTHONHOME: '/opt/intel/oneapi/debugger/2024.2/opt/debugger',
    IPPCP_TARGET_ARCH: 'intel64',
    IPPCRYPTOROOT: '/opt/intel/oneapi/ippcp/2021.12',
    IPPROOT: '/opt/intel/oneapi/ipp/2021.12',
    IPP_TARGET_ARCH: 'intel64',
    I_MPI_ROOT: '/opt/intel/oneapi/mpi/2021.13',
    J2REDIR: '/usr/lib/jvm/jdk-21-oracle-x64',
    J2SDKDIR: '/usr/lib/jvm/jdk-21-oracle-x64',
    JAVA_HOME: '/usr/lib/jvm/jdk-21-oracle-x64',
    LANG: 'en_US.UTF-8',
    LANGUAGE: 'en_US:en',
    LC_ADDRESS: 'en_SG.UTF-8',
    LC_IDENTIFICATION: 'en_SG.UTF-8',
    LC_MEASUREMENT: 'en_SG.UTF-8',
    LC_MONETARY: 'en_SG.UTF-8',
    LC_NAME: 'en_SG.UTF-8',
    LC_NUMERIC: 'en_SG.UTF-8',
    LC_PAPER: 'en_SG.UTF-8',
    LC_TELEPHONE: 'en_SG.UTF-8',
    LC_TIME: 'en_SG.UTF-8',
    LD_LIBRARY_PATH: '/opt/intel/oneapi/tbb/2021.13/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.13/opt/mpi/libfabric/lib:/opt/intel/oneapi/mpi/2021.13/lib:/opt/intel/oneapi/mkl/2024.2/lib:/opt/intel/oneapi/ippcp/2021.12/lib/:/opt/intel/oneapi/ipp/2021.12/lib:/opt/intel/oneapi/dpl/2022.6/lib:/opt/intel/oneapi/dnnl/2024.2/lib:/opt/intel/oneapi/debugger/2024.2/opt/debugger/lib:/opt/intel/oneapi/dal/2024.5/lib:/opt/intel/oneapi/compiler/2024.2/opt/compiler/lib:/opt/intel/oneapi/compiler/2024.2/lib:/opt/intel/oneapi/ccl/2021.13/lib/',
    LESSCLOSE: '/usr/bin/lesspipe %s %s',
    LESSOPEN: '| /usr/bin/lesspipe %s',
    LIBRARY_PATH: '/opt/intel/oneapi/tbb/2021.13/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.13/lib:/opt/intel/oneapi/mkl/2024.2/lib/:/opt/intel/oneapi/ippcp/2021.12/lib/:/opt/intel/oneapi/ipp/2021.12/lib:/opt/intel/oneapi/dpl/2022.6/lib:/opt/intel/oneapi/dnnl/2024.2/lib:/opt/intel/oneapi/dal/2024.5/lib:/opt/intel/oneapi/compiler/2024.2/lib:/opt/intel/oneapi/ccl/2021.13/lib/',
    LOGNAME: 'khteh',
    LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:',
    MANPATH: '/opt/intel/oneapi/mpi/2021.13/share/man:/opt/intel/oneapi/debugger/2024.2/share/man:/opt/intel/oneapi/compiler/2024.2/share/man:',
    MEMORY_PRESSURE_WATCH: '/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure',
    MEMORY_PRESSURE_WRITE: 'c29tZSAyMDAwMDAgMjAwMDAwMAA=',
    MKLROOT: '/opt/intel/oneapi/mkl/2024.2',
    NLSPATH: '/opt/intel/oneapi/mkl/2024.2/share/locale/%l_%t/%N:/opt/intel/oneapi/compiler/2024.2/lib/compiler/locale/%l_%t/%N',
    OCL_ICD_FILENAMES: '/opt/intel/oneapi/compiler/2024.2/lib/libintelocl.so',
    ONEAPI_ROOT: '/opt/intel/oneapi',
    ORIGINAL_XDG_CURRENT_DESKTOP: 'ubuntu:GNOME',
    PAPERSIZE: 'a4',
    PATH: '/home/khteh/.yarn/bin:/home/khteh/.config/yarn/global/node_modules/.bin:/home/khteh/.pub-cache/bin:/home/khteh/.local/bin:/home/khteh/.pub-cache/bin:/opt/intel/oneapi/vtune/2024.2/bin64:/opt/intel/oneapi/mpi/2021.13/bin:/opt/intel/oneapi/mkl/2024.2/bin/:/opt/intel/oneapi/dpcpp-ct/2024.2/bin:/opt/intel/oneapi/dev-utilities/2024.2/bin:/opt/intel/oneapi/debugger/2024.2/opt/debugger/bin:/opt/intel/oneapi/compiler/2024.2/bin:/opt/intel/oneapi/advisor/2024.2/bin64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/go:/opt/td-agent/bin:/snap/bin:/home/khteh/.dotnet/tools:/usr/lib/jvm/jdk-21-oracle-x64/bin:/usr/lib/jvm/jdk-21-oracle/db/bin',
    PKG_CONFIG_PATH: '/opt/intel/oneapi/vtune/2024.2/include/pkgconfig/lib64:/opt/intel/oneapi/tbb/2021.13/env/../lib/pkgconfig:/opt/intel/oneapi/mpi/2021.13/lib/pkgconfig:/opt/intel/oneapi/mkl/2024.2/lib/pkgconfig:/opt/intel/oneapi/ippcp/2021.12/lib/pkgconfig:/opt/intel/oneapi/dpl/2022.6/lib/pkgconfig:/opt/intel/oneapi/dnnl/2024.2/lib/pkgconfig:/opt/intel/oneapi/dal/2024.5/lib/pkgconfig:/opt/intel/oneapi/compiler/2024.2/lib/pkgconfig:/opt/intel/oneapi/ccl/2021.13/lib/pkgconfig/:/opt/intel/oneapi/advisor/2024.2/include/pkgconfig/lib64:',
    PWD: '/usr/src/DataStructuresAlgorithms',
    PYTHONPATH: '/opt/intel/oneapi/advisor/2024.2/pythonapi',
    QT_ACCESSIBILITY: '1',
    QT_IM_MODULE: 'ibus',
    SESSION_MANAGER: 'local/khteh-p17-2i:@/tmp/.ICE-unix/6835,unix/khteh-p17-2i:/tmp/.ICE-unix/6835',
    SETVARS_COMPLETED: '1',
    SHELL: '/bin/bash',
    SHLVL: '1',
    SSH_AUTH_SOCK: '/run/user/1000/keyring/ssh',
    SYSTEMD_EXEC_PID: '6862',
    TBBROOT: '/opt/intel/oneapi/tbb/2021.13/env/..',
    TERM: 'xterm-256color',
    USER: 'khteh',
    USERNAME: 'khteh',
    VSCODE_AMD_ENTRYPOINT: 'vs/workbench/api/node/extensionHostProcess',
    VSCODE_CLI: '1',
    VSCODE_CODE_CACHE_PATH: '/home/khteh/.config/Code/CachedData/f1e16e1e6214d7c44d078b1f0607b2388f29d729',
    VSCODE_CRASH_REPORTER_PROCESS_TYPE: 'extensionHost',
    VSCODE_CWD: '/usr/src/DataStructuresAlgorithms',
    VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
    VSCODE_IPC_HOOK: '/run/user/1000/vscode-6ab77945-1.91-main.sock',
    VSCODE_NLS_CONFIG: '{"locale":"en-us","osLocale":"en-us","availableLanguages":{},"_languagePackSupport":true}',
    VSCODE_PID: '209907',
    VTE_VERSION: '7600',
    VTUNE_PROFILER_2024_DIR: '/opt/intel/oneapi/vtune/2024.2',
    VTUNE_PROFILER_DIR: '/opt/intel/oneapi/vtune/2024.2',
    WINDOWPATH: '2',
    XAUTHORITY: '/run/user/1000/gdm/Xauthority',
    XDG_CONFIG_DIRS: '/etc/xdg/xdg-ubuntu:/etc/xdg',
    XDG_CURRENT_DESKTOP: 'Unity',
    XDG_DATA_DIRS: '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop',
    XDG_MENU_PREFIX: 'gnome-',
    XDG_RUNTIME_DIR: '/run/user/1000',
    XDG_SESSION_CLASS: 'user',
    XDG_SESSION_DESKTOP: 'ubuntu',
    XDG_SESSION_TYPE: 'x11',
    XMODIFIERS: '@im=ibus',
    _: '/usr/bin/code',
    ELECTRON_RUN_AS_NODE: '1',
    VSCODE_L10N_BUNDLE_LOCATION: '',
    APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: 'true'
  },
  environment: [
    {
      name: 'ADVISOR_2024_DIR',
      value: '/opt/intel/oneapi/advisor/2024.2'
    },
    {
      name: 'APM',
      value: '/opt/intel/oneapi/advisor/2024.2/perfmodels'
    },
    { name: 'CCL_CONFIGURATION', value: 'cpu_gpu_dpcpp' },
    { name: 'CCL_ROOT', value: '/opt/intel/oneapi/ccl/2021.13' },
    { name: 'CHROME_DESKTOP', value: 'code-url-handler.desktop' },
    {
      name: 'CLASSPATH',
      value: '/opt/intel/oneapi/mpi/2021.13/share/java/mpi.jar'
    },
    {
      name: 'CMAKE_PREFIX_PATH',
      value: '/opt/intel/oneapi/tbb/2021.13/env/..:/opt/intel/oneapi/mkl/2024.2/lib/cmake:/opt/intel/oneapi/ipp/2021.12/lib/cmake/ipp:/opt/intel/oneapi/dpl/2022.6/lib/cmake/oneDPL:/opt/intel/oneapi/dnnl/2024.2/lib/cmake:/opt/intel/oneapi/dal/2024.5:/opt/intel/oneapi/compiler/2024.2'
    },
    { name: 'CMPLR_ROOT', value: '/opt/intel/oneapi/compiler/2024.2' },
    { name: 'COLORTERM', value: 'truecolor' },
    {
      name: 'CPATH',
      value: '/opt/intel/oneapi/tbb/2021.13/env/../include:/opt/intel/oneapi/mpi/2021.13/include:/opt/intel/oneapi/mkl/2024.2/include:/opt/intel/oneapi/ippcp/2021.12/include:/opt/intel/oneapi/ipp/2021.12/include:/opt/intel/oneapi/dpl/2022.6/include:/opt/intel/oneapi/dpcpp-ct/2024.2/include:/opt/intel/oneapi/dnnl/2024.2/include:/opt/intel/oneapi/dev-utilities/2024.2/include:/opt/intel/oneapi/dal/2024.5/include/dal:/opt/intel/oneapi/ccl/2021.13/include'
    },
    { name: 'DALROOT', value: '/opt/intel/oneapi/dal/2024.5' },
    { name: 'DAL_MAJOR_BINARY', value: '2' },
    { name: 'DAL_MINOR_BINARY', value: '0' },
    {
      name: 'DBUS_SESSION_BUS_ADDRESS',
      value: 'unix:path=/run/user/1000/bus'
    },
    {
      name: 'DEBUGINFOD_URLS',
      value: 'https://debuginfod.ubuntu.com '
    },
    { name: 'DERBY_HOME', value: '/usr/lib/jvm/java-21-oracle-x64/db' },
    { name: 'DESKTOP_SESSION', value: 'ubuntu' },
    {
      name: 'DIAGUTIL_PATH',
      value: '/opt/intel/oneapi/dpcpp-ct/2024.2/etc/dpct/sys_check/sys_check.sh:/opt/intel/oneapi/debugger/2024.2/etc/debugger/sys_check/sys_check.py:/opt/intel/oneapi/compiler/2024.2/etc/compiler/sys_check/sys_check.sh'
    },
    { name: 'DISPLAY', value: ':0' },
    { name: 'DNNLROOT', value: '/opt/intel/oneapi/dnnl/2024.2' },
    {
      name: 'DOTNET_BUNDLE_EXTRACT_BASE_DIR',
      value: '/home/khteh/.cache/dotnet_bundle_extract'
    },
    { name: 'DPL_ROOT', value: '/opt/intel/oneapi/dpl/2022.6' },
    { name: 'ELECTRON_NO_ATTACH_CONSOLE', value: '1' },
    {
      name: 'FI_PROVIDER_PATH',
      value: '/opt/intel/oneapi/mpi/2021.13/opt/mpi/libfabric/lib/prov:/usr/lib/x86_64-linux-gnu/libfabric'
    },
    {
      name: 'GDB_INFO',
      value: '/opt/intel/oneapi/debugger/2024.2/share/info/'
    },
    { name: 'GDK_BACKEND', value: 'x11' },
    { name: 'GDMSESSION', value: 'ubuntu' },
    { name: 'GNOME_DESKTOP_SESSION_ID', value: 'this-is-deprecated' },
    { name: 'GNOME_SHELL_SESSION_MODE', value: 'ubuntu' },
    {
      name: 'GNOME_TERMINAL_SCREEN',
      value: '/org/gnome/Terminal/screen/9d485b79_8b3b_44cf_9f1c_f83459ad438f'
    },
    { name: 'GNOME_TERMINAL_SERVICE', value: ':1.98' },
    {
      name: 'GPG_AGENT_INFO',
      value: '/run/user/1000/gnupg/S.gpg-agent:0:1'
    },
    { name: 'GSM_SKIP_SSH_AGENT_WORKAROUND', value: 'true' },
    { name: 'GTK_MODULES', value: 'gail:atk-bridge' },
    { name: 'HOME', value: '/home/khteh' },
    { name: 'IM_CONFIG_PHASE', value: '1' },
    {
      name: 'INFOPATH',
      value: '/opt/intel/oneapi/debugger/2024.2/share/info'
    },
    {
      name: 'INTEL_PYTHONHOME',
      value: '/opt/intel/oneapi/debugger/2024.2/opt/debugger'
    },
    { name: 'IPPCP_TARGET_ARCH', value: 'intel64' },
    { name: 'IPPCRYPTOROOT', value: '/opt/intel/oneapi/ippcp/2021.12' },
    { name: 'IPPROOT', value: '/opt/intel/oneapi/ipp/2021.12' },
    { name: 'IPP_TARGET_ARCH', value: 'intel64' },
    { name: 'I_MPI_ROOT', value: '/opt/intel/oneapi/mpi/2021.13' },
    { name: 'J2REDIR', value: '/usr/lib/jvm/jdk-21-oracle-x64' },
    { name: 'J2SDKDIR', value: '/usr/lib/jvm/jdk-21-oracle-x64' },
    { name: 'JAVA_HOME', value: '/usr/lib/jvm/jdk-21-oracle-x64' },
    { name: 'LANG', value: 'en_US.UTF-8' },
    { name: 'LANGUAGE', value: 'en_US:en' },
    { name: 'LC_ADDRESS', value: 'en_SG.UTF-8' },
    { name: 'LC_IDENTIFICATION', value: 'en_SG.UTF-8' },
    { name: 'LC_MEASUREMENT', value: 'en_SG.UTF-8' },
    { name: 'LC_MONETARY', value: 'en_SG.UTF-8' },
    { name: 'LC_NAME', value: 'en_SG.UTF-8' },
    { name: 'LC_NUMERIC', value: 'en_SG.UTF-8' },
    { name: 'LC_PAPER', value: 'en_SG.UTF-8' },
    { name: 'LC_TELEPHONE', value: 'en_SG.UTF-8' },
    { name: 'LC_TIME', value: 'en_SG.UTF-8' },
    {
      name: 'LD_LIBRARY_PATH',
      value: '/opt/intel/oneapi/tbb/2021.13/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.13/opt/mpi/libfabric/lib:/opt/intel/oneapi/mpi/2021.13/lib:/opt/intel/oneapi/mkl/2024.2/lib:/opt/intel/oneapi/ippcp/2021.12/lib/:/opt/intel/oneapi/ipp/2021.12/lib:/opt/intel/oneapi/dpl/2022.6/lib:/opt/intel/oneapi/dnnl/2024.2/lib:/opt/intel/oneapi/debugger/2024.2/opt/debugger/lib:/opt/intel/oneapi/dal/2024.5/lib:/opt/intel/oneapi/compiler/2024.2/opt/compiler/lib:/opt/intel/oneapi/compiler/2024.2/lib:/opt/intel/oneapi/ccl/2021.13/lib/'
    },
    { name: 'LESSCLOSE', value: '/usr/bin/lesspipe %s %s' },
    { name: 'LESSOPEN', value: '| /usr/bin/lesspipe %s' },
    {
      name: 'LIBRARY_PATH',
      value: '/opt/intel/oneapi/tbb/2021.13/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.13/lib:/opt/intel/oneapi/mkl/2024.2/lib/:/opt/intel/oneapi/ippcp/2021.12/lib/:/opt/intel/oneapi/ipp/2021.12/lib:/opt/intel/oneapi/dpl/2022.6/lib:/opt/intel/oneapi/dnnl/2024.2/lib:/opt/intel/oneapi/dal/2024.5/lib:/opt/intel/oneapi/compiler/2024.2/lib:/opt/intel/oneapi/ccl/2021.13/lib/'
    },
    { name: 'LOGNAME', value: 'khteh' },
    {
      name: 'LS_COLORS',
      value: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:'
    },
    {
      name: 'MANPATH',
      value: '/opt/intel/oneapi/mpi/2021.13/share/man:/opt/intel/oneapi/debugger/2024.2/share/man:/opt/intel/oneapi/compiler/2024.2/share/man:'
    },
    {
      name: 'MEMORY_PRESSURE_WATCH',
      value: '/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure'
    },
    {
      name: 'MEMORY_PRESSURE_WRITE',
      value: 'c29tZSAyMDAwMDAgMjAwMDAwMAA='
    },
    { name: 'MKLROOT', value: '/opt/intel/oneapi/mkl/2024.2' },
    {
      name: 'NLSPATH',
      value: '/opt/intel/oneapi/mkl/2024.2/share/locale/%l_%t/%N:/opt/intel/oneapi/compiler/2024.2/lib/compiler/locale/%l_%t/%N'
    },
    {
      name: 'OCL_ICD_FILENAMES',
      value: '/opt/intel/oneapi/compiler/2024.2/lib/libintelocl.so'
    },
    { name: 'ONEAPI_ROOT', value: '/opt/intel/oneapi' },
    { name: 'ORIGINAL_XDG_CURRENT_DESKTOP', value: 'ubuntu:GNOME' },
    { name: 'PAPERSIZE', value: 'a4' },
    {
      name: 'PATH',
      value: '/home/khteh/.yarn/bin:/home/khteh/.config/yarn/global/node_modules/.bin:/home/khteh/.pub-cache/bin:/home/khteh/.local/bin:/home/khteh/.pub-cache/bin:/opt/intel/oneapi/vtune/2024.2/bin64:/opt/intel/oneapi/mpi/2021.13/bin:/opt/intel/oneapi/mkl/2024.2/bin/:/opt/intel/oneapi/dpcpp-ct/2024.2/bin:/opt/intel/oneapi/dev-utilities/2024.2/bin:/opt/intel/oneapi/debugger/2024.2/opt/debugger/bin:/opt/intel/oneapi/compiler/2024.2/bin:/opt/intel/oneapi/advisor/2024.2/bin64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/go:/opt/td-agent/bin:/snap/bin:/home/khteh/.dotnet/tools:/usr/lib/jvm/jdk-21-oracle-x64/bin:/usr/lib/jvm/jdk-21-oracle/db/bin'
    },
    {
      name: 'PKG_CONFIG_PATH',
      value: '/opt/intel/oneapi/vtune/2024.2/include/pkgconfig/lib64:/opt/intel/oneapi/tbb/2021.13/env/../lib/pkgconfig:/opt/intel/oneapi/mpi/2021.13/lib/pkgconfig:/opt/intel/oneapi/mkl/2024.2/lib/pkgconfig:/opt/intel/oneapi/ippcp/2021.12/lib/pkgconfig:/opt/intel/oneapi/dpl/2022.6/lib/pkgconfig:/opt/intel/oneapi/dnnl/2024.2/lib/pkgconfig:/opt/intel/oneapi/dal/2024.5/lib/pkgconfig:/opt/intel/oneapi/compiler/2024.2/lib/pkgconfig:/opt/intel/oneapi/ccl/2021.13/lib/pkgconfig/:/opt/intel/oneapi/advisor/2024.2/include/pkgconfig/lib64:'
    },
    { name: 'PWD', value: '/usr/src/DataStructuresAlgorithms' },
    {
      name: 'PYTHONPATH',
      value: '/opt/intel/oneapi/advisor/2024.2/pythonapi'
    },
    { name: 'QT_ACCESSIBILITY', value: '1' },
    { name: 'QT_IM_MODULE', value: 'ibus' },
    {
      name: 'SESSION_MANAGER',
      value: 'local/khteh-p17-2i:@/tmp/.ICE-unix/6835,unix/khteh-p17-2i:/tmp/.ICE-unix/6835'
    },
    { name: 'SETVARS_COMPLETED', value: '1' },
    { name: 'SHELL', value: '/bin/bash' },
    { name: 'SHLVL', value: '1' },
    { name: 'SSH_AUTH_SOCK', value: '/run/user/1000/keyring/ssh' },
    { name: 'SYSTEMD_EXEC_PID', value: '6862' },
    { name: 'TBBROOT', value: '/opt/intel/oneapi/tbb/2021.13/env/..' },
    { name: 'TERM', value: 'xterm-256color' },
    { name: 'USER', value: 'khteh' },
    { name: 'USERNAME', value: 'khteh' },
    {
      name: 'VSCODE_AMD_ENTRYPOINT',
      value: 'vs/workbench/api/node/extensionHostProcess'
    },
    { name: 'VSCODE_CLI', value: '1' },
    {
      name: 'VSCODE_CODE_CACHE_PATH',
      value: '/home/khteh/.config/Code/CachedData/f1e16e1e6214d7c44d078b1f0607b2388f29d729'
    },
    {
      name: 'VSCODE_CRASH_REPORTER_PROCESS_TYPE',
      value: 'extensionHost'
    },
    { name: 'VSCODE_CWD', value: '/usr/src/DataStructuresAlgorithms' },
    { name: 'VSCODE_HANDLES_UNCAUGHT_ERRORS', value: 'true' },
    {
      name: 'VSCODE_IPC_HOOK',
      value: '/run/user/1000/vscode-6ab77945-1.91-main.sock'
    },
    {
      name: 'VSCODE_NLS_CONFIG',
      value: '{"locale":"en-us","osLocale":"en-us","availableLanguages":{},"_languagePackSupport":true}'
    },
    { name: 'VSCODE_PID', value: '209907' },
    { name: 'VTE_VERSION', value: '7600' },
    {
      name: 'VTUNE_PROFILER_2024_DIR',
      value: '/opt/intel/oneapi/vtune/2024.2'
    },
    {
      name: 'VTUNE_PROFILER_DIR',
      value: '/opt/intel/oneapi/vtune/2024.2'
    },
    ... 15 more items
  ],
  sourceFileMap: {},
  MIMode: 'gdb',
  'magic variable  🤦🏼‍': '2'
}
[2024-07-30 05:59:51.952] [INFO] startDebugging
[2024-07-30 05:59:53.153] [INFO] debugSessionStarted
@matepek
Copy link
Owner

matepek commented Jul 30, 2024

Hello. This extension does not include a debugger. It uses the one installed for your vscode. In the logs you can see which one is active for your session

@matepek matepek closed this as completed Jul 30, 2024
@khteh
Copy link
Author

khteh commented Jul 30, 2024

Can you provide more details? I created an issue here microsoft/vscode#224119 and it points to extension?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants