microsoft / microsoft/vscode-cpptools

`cppvsdbg` opens a source file relative to `AppData\Local\Programs\Microsoft VS Code`

Aperta
#12,693 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug debugger help wanted
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

Environment
  • OS and version: Windows_NT x64 10.0.22631
  • VS Code:
    Commit: 4849ca9bdf9666755eb463db297b69e5385090e3
    Date: 2024-09-04T13:02:38.431Z
    Electron: 30.4.0
    ElectronBuildId: 10073054
    Chromium: 124.0.6367.243
    Node.js: 20.15.1
    V8: 12.4.254.20-electron.0
  • C/C++ extension: v1.21.6
Bug Summary and Steps to Reproduce

Bug Summary:
When cppvsdbg shows a breakpoint position, it opens a file in AppData\Local\Programs\Microsoft VS Code instead of the actual source dir. The workaround is known: set sourceFileMap: https://github.com/microsoft/vscode-cpptools/issues/4017#issuecomment-524076015. But could you provide a proper fix using cwd or any other property that can be specified in launch.json?

Debugger Configurations
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "cppvsdbg",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "C:/Users/vzlobin/r/openvino/bin/intel64/Debug/visual_language_chat.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [
                {
                    "name": "PATH",
                    "value": "C:/Users/vzlobin/r/openvino/temp/tbb/bin/;C:/Users/vzlobin/r/openvino/bin/intel64/RelWithDebInfo/;C:/Users/vzlobin/r/g/build/openvino_genai/;${env:PATH}"
                }, {
                    "name": "OPENVINO_LIB_PATHS",
                    "value": "C:/Users/vzlobin/r/openvino/temp/tbb/bin/;C:/Users/vzlobin/r/openvino/bin/intel64/RelWithDebInfo/python/;C:/Users/vzlobin/r/openvino/bin/intel64/RelWithDebInfo/"
                }, {
                    "name": "PYTHONPATH",
                    "value": "/c/Users/vzlobin/r/openvino/bin/intel64/RelWithDebInfo/python/:/c/Users/vzlobin/r/g/build/:'C:/Users/vzlobin/r/openvino/tools/ovc" 
                } 
            ],
            "logging": { "engineLogging": true, "trace": true, "traceResponse": true }
            // "sourceFileMap": {
            //     "samples": "C:\\Users\\vzlobin\\r\\g\\samples"
            // }
        }
    ]
}
Debugger Logs
<- (E) {"seq":3,"type":"event","event":"output","body":{"category":"console","output":"------------------------------------------------------------------------------\nYou may only use the C/C++ Extension for Visual Studio Code with Visual Studio\nCode, Visual Studio or Visual Studio for Mac software to help you develop and\ntest your applications.\n------------------------------------------------------------------------------\n","severity":"ok"}}
------------------------------------------------------------------------------
You may only use the C/C++ Extension for Visual Studio Code with Visual Studio
Code, Visual Studio or Visual Studio for Mac software to help you develop and
test your applications.
------------------------------------------------------------------------------
<- (R) {"seq":5,"type":"response","request_seq":2,"success":true,"command":"launch"}
-> (C) {"type":"response","seq":1,"command":"handshake","request_seq":2,"success":true,"body":{"signature":"875lhJjY2dq4tEN2LHRfER7i0KpGQLqcmtpsp+eUFWqmbs="}}
<- (E) {"seq":8,"type":"event","event":"initialized","body":{}}
-> (C) {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":3}
<- (R) {"seq":11,"type":"response","request_seq":3,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
-> (C) {"command":"setInstructionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
<- (R) {"seq":14,"type":"response","request_seq":4,"success":true,"command":"setInstructionBreakpoints","body":{"breakpoints":[]}}
-> (C) {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[{"filterId":"all"}]},"type":"request","seq":5}
<- (R) {"seq":17,"type":"response","request_seq":5,"success":true,"command":"setExceptionBreakpoints","body":{"breakpoints":[{"verified":true}]}}
-> (C) {"command":"configurationDone","type":"request","seq":6}
<- (E) {"seq":20,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/ProcessCreate","data":{"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Windows","VS.Diagnostics.Debugger.vsdbg.Version":"17.12.10729.1 commit:f369b458d0e8e43fcaae9d514696aba8466573c7","VS.Diagnostics.Debugger.vsdbg.WindowsVersion":"10.0.22631","VS.Diagnostics.Debugger.vsdbg.TargetArchitecture":"AMD64"}}}
<- (E) {"seq":22,"type":"event","event":"process","body":{"name":"C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\Debug\\visual_language_chat.exe","systemProcessId":25780,"startMethod":"launch","pointerSize":64}}
<- (R) {"seq":24,"type":"response","request_seq":6,"success":true,"command":"configurationDone"}
-> (C) {"command":"threads","type":"request","seq":7}
<- (R) {"seq":27,"type":"response","request_seq":7,"success":true,"command":"threads","body":{"threads":[]}}
<- (E) {"seq":29,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\Debug\\visual_language_chat.exe'. Symbols loaded.\n"}}
Loaded 'C:\Users\vzlobin\r\openvino\bin\intel64\Debug\visual_language_chat.exe'. Symbols loaded.
<- (E) {"seq":31,"type":"event","event":"module","body":{"reason":"new","module":{"id":1000,"name":"visual_language_chat.exe","path":"C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\Debug\\visual_language_chat.exe","isUserCode":true,"symbolStatus":"Symbols loaded.","symbolFilePath":"C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\Debug\\visual_language_chat.pdb"}}}
<- (E) {"seq":33,"type":"event","event":"thread","body":{"reason":"started","threadId":10352}}
<- (E) {"seq":35,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\ntdll.dll'. \n"}}
Loaded 'C:\Windows\System32\ntdll.dll'.
<- (E) {"seq":37,"type":"event","event":"module","body":{"reason":"new","module":{"id":1001,"name":"ntdll.dll","path":"C:\\Windows\\System32\\ntdll.dll","isUserCode":false,"version":"10.0.22621.3733 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":39,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\kernel32.dll'. \n"}}
Loaded 'C:\Windows\System32\kernel32.dll'.
<- (E) {"seq":41,"type":"event","event":"module","body":{"reason":"new","module":{"id":1002,"name":"kernel32.dll","path":"C:\\Windows\\System32\\kernel32.dll","isUserCode":false,"version":"10.0.22621.3958 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":43,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\KernelBase.dll'. \n"}}
Loaded 'C:\Windows\System32\KernelBase.dll'.
<- (E) {"seq":45,"type":"event","event":"module","body":{"reason":"new","module":{"id":1003,"name":"KernelBase.dll","path":"C:\\Windows\\System32\\KernelBase.dll","isUserCode":false,"version":"10.0.22621.3958 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":47,"type":"event","event":"thread","body":{"reason":"started","threadId":16604}}
<- (E) {"seq":49,"type":"event","event":"thread","body":{"reason":"started","threadId":21288}}
<- (E) {"seq":51,"type":"event","event":"thread","body":{"reason":"started","threadId":26280}}
<- (E) {"seq":53,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Users\\vzlobin\\r\\g\\build\\openvino_genai\\openvino_genaid.dll'. Symbols loaded.\n"}}
Loaded 'C:\Users\vzlobin\r\g\build\openvino_genai\openvino_genaid.dll'. Symbols loaded.
<- (E) {"seq":55,"type":"event","event":"module","body":{"reason":"new","module":{"id":1004,"name":"openvino_genaid.dll","path":"C:\\Users\\vzlobin\\r\\g\\build\\openvino_genai\\openvino_genaid.dll","isUserCode":true,"symbolStatus":"Symbols loaded.","symbolFilePath":"C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\Debug\\openvino_genaid.pdb"}}}
<- (E) {"seq":57,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\msvcp140d.dll'. \n"}}
Loaded 'C:\Windows\System32\msvcp140d.dll'.
<- (E) {"seq":59,"type":"event","event":"module","body":{"reason":"new","module":{"id":1005,"name":"msvcp140d.dll","path":"C:\\Windows\\System32\\msvcp140d.dll","isUserCode":false,"version":"14.36.32532.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":61,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\vcruntime140d.dll'. \n"}}
Loaded 'C:\Windows\System32\vcruntime140d.dll'.
<- (E) {"seq":63,"type":"event","event":"module","body":{"reason":"new","module":{"id":1006,"name":"vcruntime140d.dll","path":"C:\\Windows\\System32\\vcruntime140d.dll","isUserCode":false,"version":"14.36.32532.0","symbolStatus":"Cannot find or open the PDB file."}}}
-> (C) {"command":"threads","type":"request","seq":8}
<- (R) {"seq":66,"type":"response","request_seq":8,"success":true,"command":"threads","body":{"threads":[{"id":10352,"name":"Thread #10352"},{"id":16604,"name":"Thread #16604"},{"id":21288,"name":"Thread #21288"},{"id":26280,"name":"Thread #26280"}]}}
<- (E) {"seq":68,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\RelWithDebInfo\\openvino.dll'. Symbols loaded.\n"}}
Loaded 'C:\Users\vzlobin\r\openvino\bin\intel64\RelWithDebInfo\openvino.dll'. Symbols loaded.
<- (E) {"seq":70,"type":"event","event":"module","body":{"reason":"new","module":{"id":1007,"name":"openvino.dll","path":"C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\RelWithDebInfo\\openvino.dll","isUserCode":true,"version":"2024.04.0.16577","symbolStatus":"Symbols loaded.","symbolFilePath":"C:\\Users\\vzlobin\\r\\openvino\\bin\\intel64\\RelWithDebInfo\\openvino.pdb"}}}
<- (E) {"seq":72,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\vcruntime140_1d.dll'. \n"}}
Loaded 'C:\Windows\System32\vcruntime140_1d.dll'.
<- (E) {"seq":74,"type":"event","event":"module","body":{"reason":"new","module":{"id":1008,"name":"vcruntime140_1d.dll","path":"C:\\Windows\\System32\\vcruntime140_1d.dll","isUserCode":false,"version":"14.36.32532.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":76,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\ucrtbased.dll'. \n"}}
Loaded 'C:\Windows\System32\ucrtbased.dll'.
<- (E) {"seq":78,"type":"event","event":"module","body":{"reason":"new","module":{"id":1009,"name":"ucrtbased.dll","path":"C:\\Windows\\System32\\ucrtbased.dll","isUserCode":false,"version":"10.0.22621.755 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":80,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\ucrtbased.dll'. \n"}}
Loaded 'C:\Windows\System32\ucrtbased.dll'.
<- (E) {"seq":82,"type":"event","event":"module","body":{"reason":"new","module":{"id":1010,"name":"ucrtbased.dll","path":"C:\\Windows\\System32\\ucrtbased.dll","isUserCode":false,"version":"10.0.22621.755 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":84,"type":"event","event":"output","body":{"category":"console","output":"Unloaded 'C:\\Windows\\System32\\ucrtbased.dll'.\n"}}
Unloaded 'C:\Windows\System32\ucrtbased.dll'.
<- (E) {"seq":86,"type":"event","event":"module","body":{"reason":"removed","module":{"id":1010,"name":"ucrtbased.dll","path":"C:\\Windows\\System32\\ucrtbased.dll"}}}
<- (E) {"seq":88,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\shlwapi.dll'. \n"}}
Loaded 'C:\Windows\System32\shlwapi.dll'.
<- (E) {"seq":90,"type":"event","event":"module","body":{"reason":"new","module":{"id":1010,"name":"shlwapi.dll","path":"C:\\Windows\\System32\\shlwapi.dll","isUserCode":false,"version":"10.0.22621.3672 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":92,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Users\\vzlobin\\r\\openvino\\temp\\tbb\\bin\\tbb12.dll'. Module was built without symbols.\n"}}
Loaded 'C:\Users\vzlobin\r\openvino\temp\tbb\bin\tbb12.dll'. Module was built without symbols.
<- (E) {"seq":94,"type":"event","event":"module","body":{"reason":"new","module":{"id":1011,"name":"tbb12.dll","path":"C:\\Users\\vzlobin\\r\\openvino\\temp\\tbb\\bin\\tbb12.dll","isUserCode":true,"version":"2021.02.5.0","symbolStatus":"Binary was not built with debug information."}}}
<- (E) {"seq":96,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\msvcrt.dll'. \n"}}
Loaded 'C:\Windows\System32\msvcrt.dll'.
<- (E) {"seq":98,"type":"event","event":"module","body":{"reason":"new","module":{"id":1012,"name":"msvcrt.dll","path":"C:\\Windows\\System32\\msvcrt.dll","isUserCode":false,"version":"7.0.22621.2506 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":100,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\ucrtbase.dll'. \n"}}
Loaded 'C:\Windows\System32\ucrtbase.dll'.
<- (E) {"seq":102,"type":"event","event":"module","body":{"reason":"new","module":{"id":1013,"name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","isUserCode":false,"version":"10.0.22621.3593 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":104,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\ucrtbase.dll'. \n"}}
Loaded 'C:\Windows\System32\ucrtbase.dll'.
<- (E) {"seq":106,"type":"event","event":"module","body":{"reason":"new","module":{"id":1014,"name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll","isUserCode":false,"version":"10.0.22621.3593 (WinBuild.160101.0800)","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":108,"type":"event","event":"output","body":{"category":"console","output":"Unloaded 'C:\\Windows\\System32\\ucrtbase.dll'.\n"}}
Unloaded 'C:\Windows\System32\ucrtbase.dll'.
<- (E) {"seq":110,"type":"event","event":"module","body":{"reason":"removed","module":{"id":1014,"name":"ucrtbase.dll","path":"C:\\Windows\\System32\\ucrtbase.dll"}}}
<- (E) {"seq":112,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\vcruntime140.dll'. \n"}}
Loaded 'C:\Windows\System32\vcruntime140.dll'.
<- (E) {"seq":114,"type":"event","event":"module","body":{"reason":"new","module":{"id":1014,"name":"vcruntime140.dll","path":"C:\\Windows\\System32\\vcruntime140.dll","isUserCode":false,"version":"14.38.33135.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":116,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\msvcp140.dll'. \n"}}
Loaded 'C:\Windows\System32\msvcp140.dll'.
<- (E) {"seq":118,"type":"event","event":"module","body":{"reason":"new","module":{"id":1015,"name":"msvcp140.dll","path":"C:\\Windows\\System32\\msvcp140.dll","isUserCode":false,"version":"14.38.33135.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":120,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\vcruntime140_1.dll'. \n"}}
Loaded 'C:\Windows\System32\vcruntime140_1.dll'.
<- (E) {"seq":122,"type":"event","event":"module","body":{"reason":"new","module":{"id":1016,"name":"vcruntime140_1.dll","path":"C:\\Windows\\System32\\vcruntime140_1.dll","isUserCode":false,"version":"14.38.33135.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":124,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\msvcp140.dll'. \n"}}
Loaded 'C:\Windows\System32\msvcp140.dll'.
<- (E) {"seq":126,"type":"event","event":"module","body":{"reason":"new","module":{"id":1017,"name":"msvcp140.dll","path":"C:\\Windows\\System32\\msvcp140.dll","isUserCode":false,"version":"14.38.33135.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":128,"type":"event","event":"output","body":{"category":"console","output":"Unloaded 'C:\\Windows\\System32\\vcruntime140_1.dll'.\n"}}
Unloaded 'C:\Windows\System32\vcruntime140_1.dll'.
<- (E) {"seq":130,"type":"event","event":"module","body":{"reason":"removed","module":{"id":1016,"name":"vcruntime140_1.dll","path":"C:\\Windows\\System32\\vcruntime140_1.dll"}}}
<- (E) {"seq":132,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\vcruntime140_1.dll'. \n"}}
Loaded 'C:\Windows\System32\vcruntime140_1.dll'.
<- (E) {"seq":134,"type":"event","event":"module","body":{"reason":"new","module":{"id":1016,"name":"vcruntime140_1.dll","path":"C:\\Windows\\System32\\vcruntime140_1.dll","isUserCode":false,"version":"14.38.33135.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":136,"type":"event","event":"output","body":{"category":"console","output":"Unloaded 'C:\\Windows\\System32\\msvcp140.dll'.\n"}}
Unloaded 'C:\Windows\System32\msvcp140.dll'.
<- (E) {"seq":138,"type":"event","event":"module","body":{"reason":"removed","module":{"id":1017,"name":"msvcp140.dll","path":"C:\\Windows\\System32\\msvcp140.dll"}}}
<- (E) {"seq":140,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Users\\vzlobin\\r\\openvino\\temp\\tbb\\bin\\tbbmalloc.dll'. Module was built without symbols.\n"}}
Loaded 'C:\Users\vzlobin\r\openvino\temp\tbb\bin\tbbmalloc.dll'. Module was built without symbols.
<- (E) {"seq":142,"type":"event","event":"module","body":{"reason":"new","module":{"id":1017,"name":"tbbmalloc.dll","path":"C:\\Users\\vzlobin\\r\\openvino\\temp\\tbb\\bin\\tbbmalloc.dll","isUserCode":true,"version":"2021.02.5.0","symbolStatus":"Binary was not built with debug information."}}}
<- (E) {"seq":144,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\umppc18411.dll'. \n"}}
Loaded 'C:\Windows\System32\umppc18411.dll'.
<- (E) {"seq":146,"type":"event","event":"module","body":{"reason":"new","module":{"id":1018,"name":"umppc18411.dll","path":"C:\\Windows\\System32\\umppc18411.dll","isUserCode":true,"version":"7.14.18411.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":148,"type":"event","event":"output","body":{"category":"console","output":"Unloaded 'C:\\Windows\\System32\\umppc18411.dll'.\n"}}
Unloaded 'C:\Windows\System32\umppc18411.dll'.
<- (E) {"seq":150,"type":"event","event":"module","body":{"reason":"removed","module":{"id":1018,"name":"umppc18411.dll","path":"C:\\Windows\\System32\\umppc18411.dll"}}}
<- (E) {"seq":152,"type":"event","event":"output","body":{"category":"console","output":"Loaded 'C:\\Windows\\System32\\umppc18411.dll'. \n"}}
Loaded 'C:\Windows\System32\umppc18411.dll'.
<- (E) {"seq":154,"type":"event","event":"module","body":{"reason":"new","module":{"id":1018,"name":"umppc18411.dll","path":"C:\\Windows\\System32\\umppc18411.dll","isUserCode":true,"version":"7.14.18411.0","symbolStatus":"Cannot find or open the PDB file."}}}
<- (E) {"seq":156,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/Launch","data":{"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Windows","VS.Diagnostics.Debugger.vsdbg.Version":"17.12.10729.1 commit:f369b458d0e8e43fcaae9d514696aba8466573c7","VS.Diagnostics.Debugger.vsdbg.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.vsdbg.WindowsVersion":"10.0.22631","VS.Diagnostics.Debugger.vsdbg.TargetType":"Live","VS.Diagnostics.Debugger.vsdbg.AdapterId":"cppvsdbg","VS.Diagnostics.Debugger.vsdbg.SourceFileMappings":0,"VS.Diagnostics.Debugger.vsdbg.Launch.DebuggerStartTime":265}}}
<- (E) {"seq":158,"type":"event","event":"stopped","body":{"reason":"exception","threadId":10352,"text":"Exception thrown at 0x00007FFC3A21FABC in visual_language_chat.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000AE2CBAF630.","allThreadsStopped":true}}
-> (C) {"command":"threads","type":"request","seq":9}
<- (R) {"seq":161,"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[{"id":10352,"name":"Main Thread"},{"id":16604,"name":"ntdll.dll thread"},{"id":21288,"name":"ntdll.dll thread"},{"id":26280,"name":"ntdll.dll thread"}]}}
-> (C) {"command":"stackTrace","arguments":{"threadId":10352,"startFrame":0,"levels":20},"type":"request","seq":10}
<- (R) {"seq":164,"type":"response","request_seq":10,"success":true,"command":"stackTrace","body":{"stackFrames":[{"id":1000,"name":"KernelBase.dll!00007ffc3a21fabc()","line":0,"column":0,"instructionPointerReference":"0x00007FFC3A21FABC","moduleId":1003},{"id":1001,"name":"vcruntime140d.dll!00007ffc1ac9b760()","line":0,"column":0,"instructionPointerReference":"0x00007FFC1AC9B760","moduleId":1006},{"id":1002,"name":"visual_language_chat.exe!main(int argc, char * * argv) Line 14","source":{"name":"visual_language_chat.cpp","path":"C:\\Users\\vzlobin\\AppData\\Local\\Programs\\Microsoft VS Code\\samples\\cpp\\visual_language_chat\\visual_language_chat.cpp","sourceReference":0,"checksums":[{"algorithm":"SHA256","checksum":"e0eef6c999db13107fd13be6000689d012fdf57804a06748f0df1285e50f8378"}]},"line":14,"column":1,"endLine":14,"endColumn":0,"instructionPointerReference":"0x00007FF6E7C2948F","moduleId":1000},{"id":1003,"name":"visual_language_chat.exe!invoke_main() Line 79","source":{"name":"exe_common.inl","path":"D:\\a\\_work\\1\\s\\src\\vctools\\crt\\vcstartup\\src\\startup\\exe_common.inl","sourceReference":0,"checksums":[{"algorithm":"SHA256","checksum":"06302037b260f066fed492d8bb29ef08d9906fd3afb9dd34a71b9c4c537a9dbc"}]},"line":79,"column":1,"endLine":79,"endColumn":0,"instructionPointerReference":"0x00007FF6E7C544B9","moduleId":1000},{"id":1004,"name":"visual_language_chat.exe!__scrt_common_main_seh() Line 288","source":{"name":"exe_common.inl","path":"D:\\a\\_work\\1\\s\\src\\vctools\\crt\\vcstartup\\src\\startup\\exe_common.inl","sourceReference":0,"checksums":[{"algorithm":"SHA256","checksum":"06302037b260f066fed492d8bb29ef08d9906fd3afb9dd34a71b9c4c537a9dbc"}]},"line":288,"column":1,"endLine":288,"endColumn":0,"instructionPointerReference":"0x00007FF6E7C5435E","moduleId":1000},{"id":1005,"name":"visual_language_chat.exe!__scrt_common_main() Line 331","source":{"name":"exe_common.inl","path":"D:\\a\\_work\\1\\s\\src\\vctools\\crt\\vcstartup\\src\\startup\\exe_common.inl","sourceReference":0,"checksums":[{"algorithm":"SHA256","checksum":"06302037b260f066fed492d8bb29ef08d9906fd3afb9dd34a71b9c4c537a9dbc"}]},"line":331,"column":1,"endLine":331,"endColumn":0,"instructionPointerReference":"0x00007FF6E7C5421E","moduleId":1000},{"id":1006,"name":"visual_language_chat.exe!mainCRTStartup(void * __formal) Line 17","source":{"name":"exe_main.cpp","path":"D:\\a\\_work\\1\\s\\src\\vctools\\crt\\vcstartup\\src\\startup\\exe_main.cpp","sourceReference":0,"checksums":[{"algorithm":"SHA256","checksum":"f4f590f440ba7bf9472debd09278df41dbb87be3e4ee224be6fc2b2edb515f7b"}]},"line":17,"column":1,"endLine":17,"endColumn":0,"instructionPointerReference":"0x00007FF6E7C5454E","moduleId":1000},{"id":1007,"name":"kernel32.dll!00007ffc3bf2257d()","line":0,"column":0,"instructionPointerReference":"0x00007FFC3BF2257D","moduleId":1002},{"id":1008,"name":"ntdll.dll!00007ffc3c9eaf28()","line":0,"column":0,"instructionPointerReference":"0x00007FFC3C9EAF28","moduleId":1001}],"totalFrames":9}}
-> (C) {"command":"scopes","arguments":{"frameId":1002},"type":"request","seq":11}
<- (R) {"seq":167,"type":"response","request_seq":11,"success":true,"command":"scopes","body":{"scopes":[{"name":"Locals","variablesReference":1000,"expensive":false},{"name":"Registers","presentationHint":"registers","variablesReference":1001,"expensive":true}]}}
-> (C) {"command":"variables","arguments":{"variablesReference":1000},"type":"request","seq":12}
<- (R) {"seq":170,"type":"response","request_seq":12,"success":true,"command":"variables","body":{"variables":[{"name":"argc","value":"1","type":"int","presentationHint":{"kind":"data"},"evaluateName":"argc","variablesReference":0,"memoryReference":"0x0000000000000001"},{"name":"argv","value":"0x0000029571e7f090 {0x0000029571e7f0a0 \"C:\\\\Users\\\\vzlobin\\\\r\\\\openvino\\\\bin\\\\intel64\\\\Debug\\\\visual_language_chat.exe\"}","type":"char * *","presentationHint":{"kind":"data"},"evaluateName":"argv","variablesReference":1002,"memoryReference":"0x0000029571E7F090"},{"name":"device","value":"<Error reading characters of string.>","type":"std::string","presentationHint":{"kind":"data","attributes":["readOnly"]},"evaluateName":"device","variablesReference":1003},{"name":"enable_compile_cache","value":"{ size=14757395258967641292 }","type":"std::map<std::string,ov::Any,std::less<std::string>,std::allocator<std::pair<std::string const ,ov::Any>>>","presentationHint":{"kind":"data","attributes":["readOnly"]},"evaluateName":"enable_compile_cache","variablesReference":1004},{"name":"image","value":"{_impl=0xcccccccccccccccc {...} _so=0xcccccccccccccccc }","type":"ov::Tensor","presentationHint":{"kind":"data","attributes":["readOnly"]},"evaluateName":"image","variablesReference":1005},{"name":"pipe","value":"{m_vlm_config={hidden_size=14757395258967641292 scale_emb=-107374176. query_num=14757395258967641292 ...} ...}","type":"ov::genai::VLMPipeline","presentationHint":{"kind":"data","attributes":["readOnly"]},"evaluateName":"pipe","variablesReference":1006},{"name":"prompt","value":"<Error reading characters of string.>","type":"std::string","presentationHint":{"kind":"data","attributes":["readOnly"]},"evaluateName":"prompt","variablesReference":1007}]}}
Other Extensions

No response

Additional Information

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con la configurazione cppvsdbg launch.json, concentrandoti sulle impostazioni fornite cwd, program e sourceFileMap. Traccia il modo in cui vengono risolti i percorsi dei sorgenti dei breakpoint e verifica che l’apertura di un breakpoint utilizzi la directory dei sorgenti effettiva invece della directory di installazione di VS Code, senza richiedere il workaround sourceFileMap.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, typescript
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.