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

Processing stuck when calling wordexp with certain compilerFragments #9688

Closed
sean-mcmanus opened this issue Aug 4, 2022 · 50 comments
Closed
Assignees
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service Not Repro - Internal Verified issue does not reproduce regression A bug that didn't exist in a previous release reliability
Milestone

Comments

@sean-mcmanus
Copy link
Collaborator

@sean-mcmanus
Recently I have been facing the same problem: formatter stuck when saving (I have auto save and format on save active) and intellisense stuck in the flame icon forever (hovering a variable prints loading...).
I don't have a step by step guide to repro the problem because it doesn't happen always. The only thing I do is: edit code and then cmake run (with the cmake-tools ext). Sometimes the bug appears sometimes not.

Here is my call stack (I couldn't get it with the vscode - launch.json guide so I used the lldb one):

call stack
~
❯ lldb -p 79097
(lldb) process attach --pid 79097
Process 79097 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00000001c1e089ec libsystem_kernel.dylib`__read_nocancel + 8
libsystem_kernel.dylib`:
->  0x1c1e089ec <+8>:  b.lo   0x1c1e08a0c               ; <+40>
    0x1c1e089f0 <+12>: pacibsp
    0x1c1e089f4 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1c1e089f8 <+20>: mov    x29, sp
Executable module set to "/Users/$USER/.vscode/extensions/ms-vscode.cpptools-1.12.0-darwin-arm64/bin/cpptools".
Architecture set to: arm64e-apple-macosx-.
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00000001c1e089ec libsystem_kernel.dylib`__read_nocancel + 8
    frame #1: 0x00000001c1d36714 libsystem_c.dylib`__sread + 24
    frame #2: 0x00000001c1d11618 libsystem_c.dylib`_sread + 32
    frame #3: 0x00000001c1d115ac libsystem_c.dylib`__srefill1 + 36
    frame #4: 0x00000001c1d2ca78 libsystem_c.dylib`__srget + 24
    frame #5: 0x00000001c1d3aba0 libsystem_c.dylib`getc + 72
    frame #6: 0x00000001c1db381c libc++.1.dylib`std::__1::__stdinbuf<char>::__getchar(bool) + 160
    frame #7: 0x0000000104df47e4 cpptools`std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) + 148
    frame #8: 0x0000000104db764c cpptools`vscode::message_handler::main_loop() + 1644
    frame #9: 0x0000000104db5e38 cpptools`main + 288
    frame #10: 0x000000010666d08c dyld`start + 520
  thread #2
    frame #0: 0x00000001c1e0cc20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x0000000105634e58 cpptools`uv__io_poll + 724
    frame #2: 0x000000010562e4c0 cpptools`uv_run + 372
    frame #3: 0x00000001055f7608 cpptools`msvc::loop_t::run_loop() + 64
    frame #4: 0x00000001055fa6a8 cpptools`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #3
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #4
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #5
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #6
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #7
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #8
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #9
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #10
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104eb9238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #11
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x0000000104d9ecc8 cpptools`std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<std::__1::mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 268
    frame #4: 0x0000000104ebab1c cpptools`unsigned int msvc::bitset_event_t::wait_for_any_set<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, unsigned int) + 112
    frame #5: 0x0000000104eba9f0 cpptools`msvc::thread_t::invoker_t<vscode::thread_pool::thread_pool()::$_0>::invoke() + 164
    frame #6: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #7: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #12
    frame #0: 0x00000001c1e0cc20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x0000000105634e58 cpptools`uv__io_poll + 724
    frame #2: 0x000000010562e4c0 cpptools`uv_run + 372
    frame #3: 0x00000001055f7608 cpptools`msvc::loop_t::run_loop() + 64
    frame #4: 0x00000001055fa6a8 cpptools`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #13
    frame #0: 0x00000001c1e089ec libsystem_kernel.dylib`__read_nocancel + 8
    frame #1: 0x00000001c1d6e930 libsystem_c.dylib`wordexp + 2220
    frame #2: 0x000000010561bc20 cpptools`msvc::parse_arguments(msvc::basic_zstring_view<char>) + 60
    frame #3: 0x0000000104d64538 cpptools`cpp_properties::set_custom_browse_path(vscode::WorkspaceBrowseConfiguration const&) + 768
    frame #4: 0x0000000104dceed0 cpptools`vscode::message_handler::cpptools_didChangeCustomBrowseConfiguration(vscode::CustomBrowseConfigurationParams) + 124
    frame #5: 0x0000000104dbc07c cpptools`vscode::message_handler::dispatch(vscode::vscode_client_message&&, vscode::vscode_server_message&, vscode::message_handler::msg_proc_thread_token) + 10016
    frame #6: 0x0000000104db9890 cpptools`vscode::message_handler::handle_message(vscode::vscode_client_message&&, vscode::message_handler::msg_proc_thread_token) + 52
    frame #7: 0x0000000104e27268 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_5, std::__1::allocator<vscode::message_handler::main_loop()::$_5>, void ()>::operator()() + 1996
    frame #8: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #9: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #14
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e282c8 cpptools`vscode::message_deque<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false>::pop_impl(bool) + 92
    frame #4: 0x0000000104e2817c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_6, std::__1::allocator<vscode::message_handler::main_loop()::$_6>, void ()>::operator()() + 48
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #15
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e29904 cpptools`vscode::message_deque<vscode::folding_ranges_params, false>::pop_impl(bool) + 92
    frame #4: 0x0000000104e2973c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_9, std::__1::allocator<vscode::message_handler::main_loop()::$_9>, void ()>::operator()() + 80
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #16
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e28d70 cpptools`vscode::message_deque<vscode::browse_engine_update_action, false>::pop_impl(bool) + 84
    frame #4: 0x0000000104e2860c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_7, std::__1::allocator<vscode::message_handler::main_loop()::$_7>, void ()>::operator()() + 156
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #17
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e29e3c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x0000000104e29cf4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_10, std::__1::allocator<vscode::message_handler::main_loop()::$_10>, void ()>::operator()() + 68
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #18
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e29e3c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x0000000104e29ff4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_11, std::__1::allocator<vscode::message_handler::main_loop()::$_11>, void ()>::operator()() + 68
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #19
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e2a5b8 cpptools`vscode::message_deque<vscode::message_handler::parse_file_entry, true>::pop_impl(bool) + 92
    frame #4: 0x0000000104e2a1a4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_12, std::__1::allocator<vscode::message_handler::main_loop()::$_12>, void ()>::operator()() + 112
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #20
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e29e3c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x0000000104e2aaf4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_13, std::__1::allocator<vscode::message_handler::main_loop()::$_13>, void ()>::operator()() + 68
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #21
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x0000000104e2aeb8 cpptools`vscode::message_deque<int, false>::pop_impl(bool, int&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 148
    frame #4: 0x0000000104e2ad6c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_14, std::__1::allocator<vscode::message_handler::main_loop()::$_14>, void ()>::operator()() + 316
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #22
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104d9e914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000104e2b208 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_15, std::__1::allocator<vscode::message_handler::main_loop()::$_15>, void ()>::operator()() + 196
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #23
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000104e29518 cpptools`vscode::message_deque<int, false>::pop_impl(bool) + 84
    frame #4: 0x0000000104e29440 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_8, std::__1::allocator<vscode::message_handler::main_loop()::$_8>, void ()>::operator()() + 52
    frame #5: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #24
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010563ba7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010562aebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #25
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010563ba7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010562aebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #26
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010563ba7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010562aebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #27
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010563ba7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010562aebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #28
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000105442604 cpptools`run_tag_parser() + 348
    frame #4: 0x00000001053d5f2c cpptools`process_translation_unit(char const*, int, an_exported_template_file*) + 912
    frame #5: 0x00000001050516b8 cpptools`cfe_main(int, char**) + 136
    frame #6: 0x00000001053fc2b4 cpptools`cfe_main_exception_handler(int, char**) + 12
    frame #7: 0x00000001050517a4 cpptools`edg_main(int, char**) + 12
    frame #8: 0x0000000105446048 cpptools`antlr_parse_routine() + 488
    frame #9: 0x000000010561b7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #10: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
(lldb) exit
Quitting LLDB will detach from one or more processes. Do you really want to proceed: [Y/n] y

Originally posted by @lucasaf04 in #9631 (comment)

@sean-mcmanus
Copy link
Collaborator Author

@lucasaf04 Your issue appears different. Our main thread is stuck calling the wordexp system call. Are you able to provide the Custom Browse Configuration logging in the C/C++ logging window after setting C_Cpp.loggingLevel to "Debug", in particular the compilerFragments section?

@sean-mcmanus sean-mcmanus self-assigned this Aug 4, 2022
@sean-mcmanus sean-mcmanus added more info needed The issue report is not actionable in its current state reliability labels Aug 4, 2022
@sean-mcmanus sean-mcmanus changed the title Processing stuck when calling wordexp Processing stuck when calling wordexp with certain compilerFragments Aug 4, 2022
@lucasaf04
Copy link

@sean-mcmanus

C/C++ Debug logs (with vscode just restarted and cmake configure run automatically)
loggingLevel: Debug
Custom browse configuration received: {
  "browsePath": [
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/build/cmakefiles",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter14",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src"
  ],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
cpptools/didChangeCppProperties
Attempting to get defaults from C compiler in "compilerPath" property: '/opt/homebrew/bin/gcc-11'
Compiler query command line: /opt/homebrew/bin/gcc-11 -std=gnu17 -Wp,-v -E -dM -x c /dev/null
Code browsing service initialized
Attempting to get defaults from C++ compiler in "compilerPath" property: '/opt/homebrew/bin/gcc-11'
Compiler query command line: /opt/homebrew/bin/gcc-11 -std=gnu++17 -Wp,-v -E -dM -x c++ /dev/null
Custom configuration provider 'CMake Tools' registered
Custom browse configuration received: {
  "browsePath": [
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/build/cmakefiles",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter14",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src"
  ],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/JavaRuntimeSupport.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CHIP.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetricKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Network.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOBluetoothUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/GameKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SecurityInterface.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DiscRecording.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Speech.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Automator.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SafariServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ExceptionHandling.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Metal.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/QuartzCore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOBluetooth.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/StoreKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/GSS.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/JavaNativeFoundation.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreML.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/FinderSync.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PDFKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/QuickLookUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/TWAIN.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSRayIntersector.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNeuralNetwork.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSNDArray.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSCore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSImage.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSMatrix.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AutomaticAssessmentConfiguration.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ExternalAccessory.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PCSC.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PreferencePanes.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MediaPlayer.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/LinkPresentation.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/NetFS.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MediaToolbox.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SyncServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ForceFeedback.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OSAKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ServiceManagement.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ScreenTime.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MLCompute.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/NaturalLanguage.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreVideo.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/VideoDecodeAcceleration.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ScriptingBridge.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreText.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ImageIO.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ColorSync.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATSUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OSLog.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AGL.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/vmnet.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Cocoa.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AVFoundation.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AVFAudio.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DiscRecordingUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ParavirtualizedGraphics.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DeviceCheck.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MailKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/BackgroundTasks.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppleScriptKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreBluetooth.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SensorKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DriverKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Security.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Contacts.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/RealityKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PhotosUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ReplayKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Virtualization.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOSurface.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MediaLibrary.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SpriteKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IntentsUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/QuickLookThumbnailing.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreMedia.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/BusinessChat.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Intents.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DirectoryService.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppleScriptObjC.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/VideoSubscriberAccount.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreWLAN.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PencilKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MultipeerConnectivity.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/WebKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/NotificationCenter.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/GameController.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreTelephony.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AudioUnit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/FileProvider.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Social.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IdentityLookup.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/FWAUserLib.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreImage.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ExecutionPolicy.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Hypervisor.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ICADevices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudioKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/LDAP.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ExposureNotification.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ClassKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DVDPlayback.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SwiftUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ModelIO.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PHASE.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CalendarStore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MetalPerformanceShadersGraph.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Collaboration.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AudioVideoBridging.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accounts.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/_AuthenticationServices_SwiftUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/FileProviderUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ShazamKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IMServicePlugIn.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IMServicePlugIn.framework/Versions/A/Frameworks/IMServicePlugInSupport.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/QuickLook.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AuthenticationServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/KernelManagement.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/_CoreData_CloudKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DataDetection.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AudioToolbox.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SystemExtensions.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Kerberos.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/NearbyInteraction.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ContactsUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreSpotlight.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/LocalAuthentication.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AdSupport.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/InstallerPlugins.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Accessibility.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PushKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Vision.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudioTypes.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/NetworkExtension.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenAL.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/EventKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MediaAccessibility.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/MapKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppTrackingTransparency.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreHaptics.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CallKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreMotion.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/WidgetKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AVKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AddressBook.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SoundAnalysis.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreLocation.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CloudKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOUSBHost.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CFNetwork.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Photos.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/GameplayKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/DiskArbitration.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/InstantMessage.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreMIDI.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/InputMethodKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/PassKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreData.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/GLKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AdServices.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CryptoTokenKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/VideoToolbox.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/UserNotifications.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/iTunesLibrary.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/SceneKit.framework/Versions/A/Headers/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/ will be indexed
  Folder: /opt/homebrew/Cellar/gcc/11.3.0_2/include/c++/11/ will be indexed
  Folder: /opt/homebrew/Cellar/gcc/11.3.0_2/lib/gcc/11/gcc/aarch64-apple-darwin21/11/include/ will be indexed
  Folder: /opt/homebrew/Cellar/gcc/11.3.0_2/lib/gcc/11/gcc/aarch64-apple-darwin21/11/include-fixed/ will be indexed
  Folder: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/ will be indexed
cpptools/didChangeCustomBrowseConfiguration
Attempting to get defaults from C++ compiler in "compilerPath" property: '/opt/homebrew/opt/llvm/bin/clang++'
Querying compiler for default C++ language standard using command line: /opt/homebrew/opt/llvm/bin/clang++ -x c++ -E -dM /dev/null
Detected language standard version: c++14
Querying compiler for default C language standard using command line: /opt/homebrew/opt/llvm/bin/clang++ -x c -E -dM /dev/null
Detected language standard version: c17
Querying compiler's default target using command line: "/opt/homebrew/opt/llvm/bin/clang++" -dumpmachine
Compiler returned default target value: arm64-apple-darwin21.6.0
Compiler query command line: /opt/homebrew/opt/llvm/bin/clang++ -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -fcolor-diagnostics -Wall -Weffc++ -Wextra -Wpedantic -Wshadow -Wunused -Wsign-conversion -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Woverloaded-virtual -Wconversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -std=c++11 -Wp,-v -fno-blocks -E -dM -x c++ /dev/null
  Folder: /opt/homebrew/Cellar/llvm/14.0.6_1/lib/clang/14.0.6/include/ will be indexed
  Folder: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/ will be indexed
  Folder: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/build/CMakeFiles/ will be indexed
  Folder: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/ will be indexed
  Folder: /opt/homebrew/Cellar/llvm/14.0.6_1/include/ will be indexed
cpptools/clearCustomConfigurations
cpptools/didChangeCppProperties
cpptools/pauseParsing
cpptools/clearCustomConfigurations
cpptools/didChangeCustomBrowseConfiguration
Discovering files...
  Processing folder (recursive): /opt/homebrew/Cellar/llvm/14.0.6_1/lib/clang/14.0.6/include/
  Processing folder (recursive): /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/
Attempting to get defaults from C++ compiler in "compilerPath" property: '/opt/homebrew/opt/llvm/bin/clang++'
cpptools/resumeParsing
  Processing folder (recursive): /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/build/CMakeFiles/
  Processing folder (recursive): /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/
  Processing folder (recursive): /opt/homebrew/Cellar/llvm/14.0.6_1/include/
  Discovering files: 7562 file(s) processed
  0 file(s) removed from database
Done discovering files.
Populating include completion cache.
Custom browse configuration received: {
  "browsePath": [
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/build/cmakefiles",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter14",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src"
  ],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
cpptools/clearCustomConfigurations
cpptools/didChangeCustomBrowseConfiguration
Custom browse configuration received: {
  "browsePath": [
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/build/cmakefiles",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter14",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src"
  ],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
Parsing remaining files...
  Parsing: 0 files(s) processed
Done parsing remaining files.
Attempting to get defaults from C++ compiler in "compilerPath" property: '/opt/homebrew/opt/llvm/bin/clang++'
cpptools/resumeParsing
cpptools/clearCustomConfigurations
cpptools/didChangeCustomBrowseConfiguration
Attempting to get defaults from C++ compiler in "compilerPath" property: '/opt/homebrew/opt/llvm/bin/clang++'
cpptools/resumeParsing
After opening a file -> commenting a line of code -> cmake run -> intellisense stuck
cpptools/getCodeActions: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 2)
cpptools/queryTranslationUnitSource: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 3)
Custom configurations received:
  uri: file:///Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
  config: {
  "includePath": [],
  "defines": [],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
cpptools/didChangeCustomConfiguration
Attempting to get defaults from C++ compiler in "compilerPath" property: '/opt/homebrew/opt/llvm/bin/clang++'
Compiler query command line: /opt/homebrew/opt/llvm/bin/clang++ -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -fcolor-diagnostics -Wall -Weffc++ -Wextra -Wpedantic -Wshadow -Wunused -Wsign-conversion -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Woverloaded-virtual -Wconversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -std=c++11 -Wp,-v -fno-blocks -E -dM -x c++ /dev/null
textDocument/didOpen: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 4)
cpptools/textEditorSelectionChange
cpptools/activeDocumentChange: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/getDocumentSymbols
sending compilation args for /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
  include: /opt/homebrew/Cellar/llvm/14.0.6_1/include
  include: /opt/homebrew/Cellar/llvm/14.0.6_1/include/c++/v1
  include: /opt/homebrew/Cellar/llvm/14.0.6_1/lib/clang/14.0.6/include
  include: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include
  framework: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks
  define: _LP64=1
  define: __AARCH64EL__=1
  define: __AARCH64_CMODEL_SMALL__=1
  define: __AARCH64_SIMD__=1
  define: __APPLE_CC__=6000
  define: __APPLE__=1
  define: __ARM64_ARCH_8__=1
  define: __ARM_64BIT_STATE=1
  define: __ARM_ACLE=200
  define: __ARM_ALIGN_MAX_STACK_PWR=4
  define: __ARM_ARCH=8
  define: __ARM_ARCH_ISA_A64=1
  define: __ARM_ARCH_PROFILE='A'
  define: __ARM_FEATURE_AES=1
  define: __ARM_FEATURE_ATOMICS=1
  define: __ARM_FEATURE_CLZ=1
  define: __ARM_FEATURE_COMPLEX=1
  define: __ARM_FEATURE_CRC32=1
  define: __ARM_FEATURE_CRYPTO=1
  define: __ARM_FEATURE_DIRECTED_ROUNDING=1
  define: __ARM_FEATURE_DIV=1
  define: __ARM_FEATURE_DOTPROD=1
  define: __ARM_FEATURE_FMA=1
  define: __ARM_FEATURE_FP16_FML=1
  define: __ARM_FEATURE_FP16_SCALAR_ARITHMETIC=1
  define: __ARM_FEATURE_FP16_VECTOR_ARITHMETIC=1
  define: __ARM_FEATURE_FRINT=1
  define: __ARM_FEATURE_IDIV=1
  define: __ARM_FEATURE_JCVT=1
  define: __ARM_FEATURE_LDREX=0xF
  define: __ARM_FEATURE_NUMERIC_MAXMIN=1
  define: __ARM_FEATURE_QRDMX=1
  define: __ARM_FEATURE_SHA2=1
  define: __ARM_FEATURE_UNALIGNED=1
  define: __ARM_FP=0xE
  define: __ARM_FP16_ARGS=1
  define: __ARM_FP16_FORMAT_IEEE=1
  define: __ARM_NEON=1
  define: __ARM_NEON_FP=0xE
  define: __ARM_NEON__=1
  define: __ARM_PCS_AAPCS64=1
  define: __ARM_SIZEOF_MINIMAL_ENUM=4
  define: __ARM_SIZEOF_WCHAR_T=4
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_SEQ_CST=5
  define: __BIGGEST_ALIGNMENT__=8
  define: __BITINT_MAXWIDTH__=128
  define: __BOOL_WIDTH__=8
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __CHAR_BIT__=8
  define: __CLANG_ATOMIC_BOOL_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR_LOCK_FREE=2
  define: __CLANG_ATOMIC_INT_LOCK_FREE=2
  define: __CLANG_ATOMIC_LLONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_LONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_POINTER_LOCK_FREE=2
  define: __CLANG_ATOMIC_SHORT_LOCK_FREE=2
  define: __CLANG_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __CONSTANT_CFSTRINGS__=1
  define: __DBL_DECIMAL_DIG__=17
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_DIG__=15
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_DENORM__=1
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __DECIMAL_DIG__=__LDBL_DECIMAL_DIG__
  define: __DEPRECATED=1
  define: __DYNAMIC__=1
  define: __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=120000
  define: __EXCEPTIONS=1
  define: __FINITE_MATH_ONLY__=0
  define: __FLT16_DECIMAL_DIG__=5
  define: __FLT16_DENORM_MIN__=5.9604644775390625e-8F16
  define: __FLT16_DIG__=3
  define: __FLT16_EPSILON__=9.765625e-4F16
  define: __FLT16_HAS_DENORM__=1
  define: __FLT16_HAS_INFINITY__=1
  define: __FLT16_HAS_QUIET_NAN__=1
  define: __FLT16_MANT_DIG__=11
  define: __FLT16_MAX_10_EXP__=4
  define: __FLT16_MAX_EXP__=16
  define: __FLT16_MAX__=6.5504e+4F16
  define: __FLT16_MIN_10_EXP__=(-4)
  define: __FLT16_MIN_EXP__=(-13)
  define: __FLT16_MIN__=6.103515625e-5F16
  define: __FLT_DECIMAL_DIG__=9
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_DIG__=6
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_HAS_DENORM__=1
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __FLT_RADIX__=2
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_HAVE_DWARF2_CFI_ASM=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __GNUC_GNU_INLINE__=1
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GNUG__=4
  define: __GXX_ABI_VERSION=1002
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __GXX_RTTI=1
  define: __GXX_WEAK__=1
  define: __INT16_C_SUFFIX__=
  define: __INT16_FMTd__="hd"
  define: __INT16_FMTi__="hi"
  define: __INT16_MAX__=32767
  define: __INT16_TYPE__=short
  define: __INT32_C_SUFFIX__=
  define: __INT32_FMTd__="d"
  define: __INT32_FMTi__="i"
  define: __INT32_MAX__=2147483647
  define: __INT32_TYPE__=int
  define: __INT64_C_SUFFIX__=LL
  define: __INT64_FMTd__="lld"
  define: __INT64_FMTi__="lli"
  define: __INT64_MAX__=9223372036854775807LL
  define: __INT64_TYPE__=long long int
  define: __INT8_C_SUFFIX__=
  define: __INT8_FMTd__="hhd"
  define: __INT8_FMTi__="hhi"
  define: __INT8_MAX__=127
  define: __INT8_TYPE__=signed char
  define: __INTMAX_C_SUFFIX__=L
  define: __INTMAX_FMTd__="ld"
  define: __INTMAX_FMTi__="li"
  define: __INTMAX_MAX__=9223372036854775807L
  define: __INTMAX_TYPE__=long int
  define: __INTMAX_WIDTH__=64
  define: __INTPTR_FMTd__="ld"
  define: __INTPTR_FMTi__="li"
  define: __INTPTR_MAX__=9223372036854775807L
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_WIDTH__=64
  define: __INT_FAST16_FMTd__="hd"
  define: __INT_FAST16_FMTi__="hi"
  define: __INT_FAST16_MAX__=32767
  define: __INT_FAST16_TYPE__=short
  define: __INT_FAST16_WIDTH__=16
  define: __INT_FAST32_FMTd__="d"
  define: __INT_FAST32_FMTi__="i"
  define: __INT_FAST32_MAX__=2147483647
  define: __INT_FAST32_TYPE__=int
  define: __INT_FAST32_WIDTH__=32
  define: __INT_FAST64_FMTd__="lld"
  define: __INT_FAST64_FMTi__="lli"
  define: __INT_FAST64_MAX__=9223372036854775807LL
  define: __INT_FAST64_TYPE__=long long int
  define: __INT_FAST64_WIDTH__=64
  define: __INT_FAST8_FMTd__="hhd"
  define: __INT_FAST8_FMTi__="hhi"
  define: __INT_FAST8_MAX__=127
  define: __INT_FAST8_TYPE__=signed char
  define: __INT_FAST8_WIDTH__=8
  define: __INT_LEAST16_FMTd__="hd"
  define: __INT_LEAST16_FMTi__="hi"
  define: __INT_LEAST16_MAX__=32767
  define: __INT_LEAST16_TYPE__=short
  define: __INT_LEAST16_WIDTH__=16
  define: __INT_LEAST32_FMTd__="d"
  define: __INT_LEAST32_FMTi__="i"
  define: __INT_LEAST32_MAX__=2147483647
  define: __INT_LEAST32_TYPE__=int
  define: __INT_LEAST32_WIDTH__=32
  define: __INT_LEAST64_FMTd__="lld"
  define: __INT_LEAST64_FMTi__="lli"
  define: __INT_LEAST64_MAX__=9223372036854775807LL
  define: __INT_LEAST64_TYPE__=long long int
  define: __INT_LEAST64_WIDTH__=64
  define: __INT_LEAST8_FMTd__="hhd"
  define: __INT_LEAST8_FMTi__="hhi"
  define: __INT_LEAST8_MAX__=127
  define: __INT_LEAST8_TYPE__=signed char
  define: __INT_LEAST8_WIDTH__=8
  define: __INT_MAX__=2147483647
  define: __INT_WIDTH__=32
  define: __LDBL_DECIMAL_DIG__=17
  define: __LDBL_DENORM_MIN__=4.9406564584124654e-324L
  define: __LDBL_DIG__=15
  define: __LDBL_EPSILON__=2.2204460492503131e-16L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=53
  define: __LDBL_MAX_10_EXP__=308
  define: __LDBL_MAX_EXP__=1024
  define: __LDBL_MAX__=1.7976931348623157e+308L
  define: __LDBL_MIN_10_EXP__=(-307)
  define: __LDBL_MIN_EXP__=(-1021)
  define: __LDBL_MIN__=2.2250738585072014e-308L
  define: __LITTLE_ENDIAN__=1
  define: __LLONG_WIDTH__=64
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_WIDTH__=64
  define: __LP64__=1
  define: __MACH__=1
  define: __NO_INLINE__=1
  define: __NO_MATH_ERRNO__=1
  define: __OBJC_BOOL_IS_BOOL=1
  define: __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3
  define: __OPENCL_MEMORY_SCOPE_DEVICE=2
  define: __OPENCL_MEMORY_SCOPE_SUB_GROUP=4
  define: __OPENCL_MEMORY_SCOPE_WORK_GROUP=1
  define: __OPENCL_MEMORY_SCOPE_WORK_ITEM=0
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_PDP_ENDIAN__=3412
  define: __PIC__=2
  define: __POINTER_WIDTH__=64
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __PTRDIFF_FMTd__="ld"
  define: __PTRDIFF_FMTi__="li"
  define: __PTRDIFF_MAX__=9223372036854775807L
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_WIDTH__=64
  define: __REGISTER_PREFIX__=
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __SHRT_WIDTH__=16
  define: __SIG_ATOMIC_MAX__=2147483647
  define: __SIG_ATOMIC_WIDTH__=32
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT128__=16
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG_DOUBLE__=8
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZE_FMTX__="lX"
  define: __SIZE_FMTo__="lo"
  define: __SIZE_FMTu__="lu"
  define: __SIZE_FMTx__="lx"
  define: __SIZE_MAX__=18446744073709551615UL
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_WIDTH__=64
  define: __SSP__=1
  define: __STDCPP_DEFAULT_NEW_ALIGNMENT__=16UL
  define: __STDCPP_THREADS__=1
  define: __STDC_HOSTED__=1
  define: __STDC_NO_THREADS__=1
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  define: __STDC__=1
  define: __STRICT_ANSI__=1
  define: __UINT16_C_SUFFIX__=
  define: __UINT16_FMTX__="hX"
  define: __UINT16_FMTo__="ho"
  define: __UINT16_FMTu__="hu"
  define: __UINT16_FMTx__="hx"
  define: __UINT16_MAX__=65535
  define: __UINT16_TYPE__=unsigned short
  define: __UINT32_C_SUFFIX__=U
  define: __UINT32_FMTX__="X"
  define: __UINT32_FMTo__="o"
  define: __UINT32_FMTu__="u"
  define: __UINT32_FMTx__="x"
  define: __UINT32_MAX__=4294967295U
  define: __UINT32_TYPE__=unsigned int
  define: __UINT64_C_SUFFIX__=ULL
  define: __UINT64_FMTX__="llX"
  define: __UINT64_FMTo__="llo"
  define: __UINT64_FMTu__="llu"
  define: __UINT64_FMTx__="llx"
  define: __UINT64_MAX__=18446744073709551615ULL
  define: __UINT64_TYPE__=long long unsigned int
  define: __UINT8_C_SUFFIX__=
  define: __UINT8_FMTX__="hhX"
  define: __UINT8_FMTo__="hho"
  define: __UINT8_FMTu__="hhu"
  define: __UINT8_FMTx__="hhx"
  define: __UINT8_MAX__=255
  define: __UINT8_TYPE__=unsigned char
  define: __UINTMAX_C_SUFFIX__=UL
  define: __UINTMAX_FMTX__="lX"
  define: __UINTMAX_FMTo__="lo"
  define: __UINTMAX_FMTu__="lu"
  define: __UINTMAX_FMTx__="lx"
  define: __UINTMAX_MAX__=18446744073709551615UL
  define: __UINTMAX_TYPE__=long unsigned int
  define: __UINTMAX_WIDTH__=64
  define: __UINTPTR_FMTX__="lX"
  define: __UINTPTR_FMTo__="lo"
  define: __UINTPTR_FMTu__="lu"
  define: __UINTPTR_FMTx__="lx"
  define: __UINTPTR_MAX__=18446744073709551615UL
  define: __UINTPTR_TYPE__=long unsigned int
  define: __UINTPTR_WIDTH__=64
  define: __UINT_FAST16_FMTX__="hX"
  define: __UINT_FAST16_FMTo__="ho"
  define: __UINT_FAST16_FMTu__="hu"
  define: __UINT_FAST16_FMTx__="hx"
  define: __UINT_FAST16_MAX__=65535
  define: __UINT_FAST16_TYPE__=unsigned short
  define: __UINT_FAST32_FMTX__="X"
  define: __UINT_FAST32_FMTo__="o"
  define: __UINT_FAST32_FMTu__="u"
  define: __UINT_FAST32_FMTx__="x"
  define: __UINT_FAST32_MAX__=4294967295U
  define: __UINT_FAST32_TYPE__=unsigned int
  define: __UINT_FAST64_FMTX__="llX"
  define: __UINT_FAST64_FMTo__="llo"
  define: __UINT_FAST64_FMTu__="llu"
  define: __UINT_FAST64_FMTx__="llx"
  define: __UINT_FAST64_MAX__=18446744073709551615ULL
  define: __UINT_FAST64_TYPE__=long long unsigned int
  define: __UINT_FAST8_FMTX__="hhX"
  define: __UINT_FAST8_FMTo__="hho"
  define: __UINT_FAST8_FMTu__="hhu"
  define: __UINT_FAST8_FMTx__="hhx"
  define: __UINT_FAST8_MAX__=255
  define: __UINT_FAST8_TYPE__=unsigned char
  define: __UINT_LEAST16_FMTX__="hX"
  define: __UINT_LEAST16_FMTo__="ho"
  define: __UINT_LEAST16_FMTu__="hu"
  define: __UINT_LEAST16_FMTx__="hx"
  define: __UINT_LEAST16_MAX__=65535
  define: __UINT_LEAST16_TYPE__=unsigned short
  define: __UINT_LEAST32_FMTX__="X"
  define: __UINT_LEAST32_FMTo__="o"
  define: __UINT_LEAST32_FMTu__="u"
  define: __UINT_LEAST32_FMTx__="x"
  define: __UINT_LEAST32_MAX__=4294967295U
  define: __UINT_LEAST32_TYPE__=unsigned int
  define: __UINT_LEAST64_FMTX__="llX"
  define: __UINT_LEAST64_FMTo__="llo"
  define: __UINT_LEAST64_FMTu__="llu"
  define: __UINT_LEAST64_FMTx__="llx"
  define: __UINT_LEAST64_MAX__=18446744073709551615ULL
  define: __UINT_LEAST64_TYPE__=long long unsigned int
  define: __UINT_LEAST8_FMTX__="hhX"
  define: __UINT_LEAST8_FMTo__="hho"
  define: __UINT_LEAST8_FMTu__="hhu"
  define: __UINT_LEAST8_FMTx__="hhx"
  define: __UINT_LEAST8_MAX__=255
  define: __UINT_LEAST8_TYPE__=unsigned char
  define: __USER_LABEL_PREFIX__=_
  define: __VERSION__="Homebrew Clang 14.0.6"
  define: __WCHAR_MAX__=2147483647
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_MAX__=2147483647
  define: __WINT_TYPE__=int
  define: __WINT_WIDTH__=32
  define: __aarch64__=1
  define: __arm64=1
  define: __arm64__=1
  define: __clang__=1
  define: __clang_literal_encoding__="UTF-8"
  define: __clang_major__=14
  define: __clang_minor__=0
  define: __clang_patchlevel__=6
  define: __clang_version__="14.0.6 "
  define: __clang_wide_literal_encoding__="UTF-32"
  define: __cplusplus=201103L
  define: __llvm__=1
  define: __nonnull=_Nonnull
  define: __null_unspecified=_Null_unspecified
  define: __nullable=_Nullable
  define: __pic__=2
  define: __private_extern__=extern
  define: __strong=
  define: __unsafe_unretained=
  define: __weak=__attribute__((objc_gc(weak)))
  other: --clang
  other: --clang_version=140006
  stdver: c++11
  intelliSenseMode: macos-clang-arm64
cpptools/getSemanticTokens: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 5)
cpptools/getCodeActions: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 6)
Checking for syntax errors: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
Queueing IntelliSense update for files in translation unit of: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/getInlayHints: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 7)
textDocument/hover: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 8)
cpptools/finishUpdateSquiggles
Error squiggle count: 0
Update IntelliSense time (sec): 0.474
cpptools/getFoldingRanges: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 9)
cpptools/getFoldingRanges: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 10)
textDocument/hover: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 11)
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/getCodeActions: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 12)
textDocument/didChange: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/textEditorSelectionChange
cpptools/getFoldingRanges: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 13)
cpptools/getCodeActions: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 14)
cpptools/getDocumentSymbols: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 15)
cpptools/getDocumentSymbols
cpptools/getSemanticTokens: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 16)
willSaveWaitUntil: 0ms
textDocument/didSave: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
  tag parsing file: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/fileChanged: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/getInlayHints: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 18)
Checking for syntax errors: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
Queueing IntelliSense update for files in translation unit of: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
sending 1 changes to server
cpptools/finishUpdateSquiggles
Error squiggle count: 0
Update IntelliSense time (sec): 2.271
Custom browse configuration received: {
  "browsePath": [
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9/book",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/build/cmakefiles",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter1",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter10",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter11",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter12",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter13",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter14",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter2",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter3",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter4",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter5",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter6",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter7",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter8",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src/chapter9",
    "/users/$USER/developer/tutorials-and-learning/cpp11/cpp-primer/src"
  ],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
cpptools/clearCustomConfigurations
Shutting down IntelliSense server: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
Checking for syntax errors: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
cpptools/queryTranslationUnitSource: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp (id: 19)
Custom configurations received:
  uri: file:///Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
  config: {
  "includePath": [],
  "defines": [],
  "compilerPath": "/opt/homebrew/opt/llvm/bin/clang++",
  "compilerArgs": [],
  "compilerFragments": [
    "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk",
    "-fcolor-diagnostics",
    "-I/opt/homebrew/opt/llvm/include",
    "-Wall",
    "-Weffc++",
    "-Wextra",
    "-Wpedantic",
    "-Wshadow",
    "-Wunused",
    "-Wsign-conversion",
    "-Wnon-virtual-dtor",
    "-Wold-style-cast",
    "-Wcast-align",
    "-Woverloaded-virtual",
    "-Wconversion",
    "-Wnull-dereference",
    "-Wdouble-promotion",
    "-Wformat=2",
    "-Wimplicit-fallthrough",
    "-Werror",
    "-std=c++11"
  ]
}
cpptools/didChangeCustomBrowseConfiguration
sending compilation args for /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
  include: /opt/homebrew/Cellar/llvm/14.0.6_1/include/c++/v1
  include: /opt/homebrew/Cellar/llvm/14.0.6_1/lib/clang/14.0.6/include
  include: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include
  framework: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks
  define: _LP64=1
  define: __AARCH64EL__=1
  define: __AARCH64_CMODEL_SMALL__=1
  define: __AARCH64_SIMD__=1
  define: __APPLE_CC__=6000
  define: __APPLE__=1
  define: __ARM64_ARCH_8__=1
  define: __ARM_64BIT_STATE=1
  define: __ARM_ACLE=200
  define: __ARM_ALIGN_MAX_STACK_PWR=4
  define: __ARM_ARCH=8
  define: __ARM_ARCH_ISA_A64=1
  define: __ARM_ARCH_PROFILE='A'
  define: __ARM_FEATURE_AES=1
  define: __ARM_FEATURE_ATOMICS=1
  define: __ARM_FEATURE_CLZ=1
  define: __ARM_FEATURE_COMPLEX=1
  define: __ARM_FEATURE_CRC32=1
  define: __ARM_FEATURE_CRYPTO=1
  define: __ARM_FEATURE_DIRECTED_ROUNDING=1
  define: __ARM_FEATURE_DIV=1
  define: __ARM_FEATURE_DOTPROD=1
  define: __ARM_FEATURE_FMA=1
  define: __ARM_FEATURE_FP16_FML=1
  define: __ARM_FEATURE_FP16_SCALAR_ARITHMETIC=1
  define: __ARM_FEATURE_FP16_VECTOR_ARITHMETIC=1
  define: __ARM_FEATURE_FRINT=1
  define: __ARM_FEATURE_IDIV=1
  define: __ARM_FEATURE_JCVT=1
  define: __ARM_FEATURE_LDREX=0xF
  define: __ARM_FEATURE_NUMERIC_MAXMIN=1
  define: __ARM_FEATURE_QRDMX=1
  define: __ARM_FEATURE_SHA2=1
  define: __ARM_FEATURE_UNALIGNED=1
  define: __ARM_FP=0xE
  define: __ARM_FP16_ARGS=1
  define: __ARM_FP16_FORMAT_IEEE=1
  define: __ARM_NEON=1
  define: __ARM_NEON_FP=0xE
  define: __ARM_NEON__=1
  define: __ARM_PCS_AAPCS64=1
  define: __ARM_SIZEOF_MINIMAL_ENUM=4
  define: __ARM_SIZEOF_WCHAR_T=4
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_SEQ_CST=5
  define: __BIGGEST_ALIGNMENT__=8
  define: __BITINT_MAXWIDTH__=128
  define: __BOOL_WIDTH__=8
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __CHAR_BIT__=8
  define: __CLANG_ATOMIC_BOOL_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR_LOCK_FREE=2
  define: __CLANG_ATOMIC_INT_LOCK_FREE=2
  define: __CLANG_ATOMIC_LLONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_LONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_POINTER_LOCK_FREE=2
  define: __CLANG_ATOMIC_SHORT_LOCK_FREE=2
  define: __CLANG_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __CONSTANT_CFSTRINGS__=1
  define: __DBL_DECIMAL_DIG__=17
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_DIG__=15
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_DENORM__=1
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __DECIMAL_DIG__=__LDBL_DECIMAL_DIG__
  define: __DEPRECATED=1
  define: __DYNAMIC__=1
  define: __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=120000
  define: __EXCEPTIONS=1
  define: __FINITE_MATH_ONLY__=0
  define: __FLT16_DECIMAL_DIG__=5
  define: __FLT16_DENORM_MIN__=5.9604644775390625e-8F16
  define: __FLT16_DIG__=3
  define: __FLT16_EPSILON__=9.765625e-4F16
  define: __FLT16_HAS_DENORM__=1
  define: __FLT16_HAS_INFINITY__=1
  define: __FLT16_HAS_QUIET_NAN__=1
  define: __FLT16_MANT_DIG__=11
  define: __FLT16_MAX_10_EXP__=4
  define: __FLT16_MAX_EXP__=16
  define: __FLT16_MAX__=6.5504e+4F16
  define: __FLT16_MIN_10_EXP__=(-4)
  define: __FLT16_MIN_EXP__=(-13)
  define: __FLT16_MIN__=6.103515625e-5F16
  define: __FLT_DECIMAL_DIG__=9
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_DIG__=6
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_HAS_DENORM__=1
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __FLT_RADIX__=2
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_HAVE_DWARF2_CFI_ASM=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __GNUC_GNU_INLINE__=1
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GNUG__=4
  define: __GXX_ABI_VERSION=1002
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __GXX_RTTI=1
  define: __GXX_WEAK__=1
  define: __INT16_C_SUFFIX__=
  define: __INT16_FMTd__="hd"
  define: __INT16_FMTi__="hi"
  define: __INT16_MAX__=32767
  define: __INT16_TYPE__=short
  define: __INT32_C_SUFFIX__=
  define: __INT32_FMTd__="d"
  define: __INT32_FMTi__="i"
  define: __INT32_MAX__=2147483647
  define: __INT32_TYPE__=int
  define: __INT64_C_SUFFIX__=LL
  define: __INT64_FMTd__="lld"
  define: __INT64_FMTi__="lli"
  define: __INT64_MAX__=9223372036854775807LL
  define: __INT64_TYPE__=long long int
  define: __INT8_C_SUFFIX__=
  define: __INT8_FMTd__="hhd"
  define: __INT8_FMTi__="hhi"
  define: __INT8_MAX__=127
  define: __INT8_TYPE__=signed char
  define: __INTMAX_C_SUFFIX__=L
  define: __INTMAX_FMTd__="ld"
  define: __INTMAX_FMTi__="li"
  define: __INTMAX_MAX__=9223372036854775807L
  define: __INTMAX_TYPE__=long int
  define: __INTMAX_WIDTH__=64
  define: __INTPTR_FMTd__="ld"
  define: __INTPTR_FMTi__="li"
  define: __INTPTR_MAX__=9223372036854775807L
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_WIDTH__=64
  define: __INT_FAST16_FMTd__="hd"
  define: __INT_FAST16_FMTi__="hi"
  define: __INT_FAST16_MAX__=32767
  define: __INT_FAST16_TYPE__=short
  define: __INT_FAST16_WIDTH__=16
  define: __INT_FAST32_FMTd__="d"
  define: __INT_FAST32_FMTi__="i"
  define: __INT_FAST32_MAX__=2147483647
  define: __INT_FAST32_TYPE__=int
  define: __INT_FAST32_WIDTH__=32
  define: __INT_FAST64_FMTd__="lld"
  define: __INT_FAST64_FMTi__="lli"
  define: __INT_FAST64_MAX__=9223372036854775807LL
  define: __INT_FAST64_TYPE__=long long int
  define: __INT_FAST64_WIDTH__=64
  define: __INT_FAST8_FMTd__="hhd"
  define: __INT_FAST8_FMTi__="hhi"
  define: __INT_FAST8_MAX__=127
  define: __INT_FAST8_TYPE__=signed char
  define: __INT_FAST8_WIDTH__=8
  define: __INT_LEAST16_FMTd__="hd"
  define: __INT_LEAST16_FMTi__="hi"
  define: __INT_LEAST16_MAX__=32767
  define: __INT_LEAST16_TYPE__=short
  define: __INT_LEAST16_WIDTH__=16
  define: __INT_LEAST32_FMTd__="d"
  define: __INT_LEAST32_FMTi__="i"
  define: __INT_LEAST32_MAX__=2147483647
  define: __INT_LEAST32_TYPE__=int
  define: __INT_LEAST32_WIDTH__=32
  define: __INT_LEAST64_FMTd__="lld"
  define: __INT_LEAST64_FMTi__="lli"
  define: __INT_LEAST64_MAX__=9223372036854775807LL
  define: __INT_LEAST64_TYPE__=long long int
  define: __INT_LEAST64_WIDTH__=64
  define: __INT_LEAST8_FMTd__="hhd"
  define: __INT_LEAST8_FMTi__="hhi"
  define: __INT_LEAST8_MAX__=127
  define: __INT_LEAST8_TYPE__=signed char
  define: __INT_LEAST8_WIDTH__=8
  define: __INT_MAX__=2147483647
  define: __INT_WIDTH__=32
  define: __LDBL_DECIMAL_DIG__=17
  define: __LDBL_DENORM_MIN__=4.9406564584124654e-324L
  define: __LDBL_DIG__=15
  define: __LDBL_EPSILON__=2.2204460492503131e-16L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=53
  define: __LDBL_MAX_10_EXP__=308
  define: __LDBL_MAX_EXP__=1024
  define: __LDBL_MAX__=1.7976931348623157e+308L
  define: __LDBL_MIN_10_EXP__=(-307)
  define: __LDBL_MIN_EXP__=(-1021)
  define: __LDBL_MIN__=2.2250738585072014e-308L
  define: __LITTLE_ENDIAN__=1
  define: __LLONG_WIDTH__=64
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_WIDTH__=64
  define: __LP64__=1
  define: __MACH__=1
  define: __NO_INLINE__=1
  define: __NO_MATH_ERRNO__=1
  define: __OBJC_BOOL_IS_BOOL=1
  define: __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3
  define: __OPENCL_MEMORY_SCOPE_DEVICE=2
  define: __OPENCL_MEMORY_SCOPE_SUB_GROUP=4
  define: __OPENCL_MEMORY_SCOPE_WORK_GROUP=1
  define: __OPENCL_MEMORY_SCOPE_WORK_ITEM=0
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_PDP_ENDIAN__=3412
  define: __PIC__=2
  define: __POINTER_WIDTH__=64
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __PTRDIFF_FMTd__="ld"
  define: __PTRDIFF_FMTi__="li"
  define: __PTRDIFF_MAX__=9223372036854775807L
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_WIDTH__=64
  define: __REGISTER_PREFIX__=
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __SHRT_WIDTH__=16
  define: __SIG_ATOMIC_MAX__=2147483647
  define: __SIG_ATOMIC_WIDTH__=32
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT128__=16
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG_DOUBLE__=8
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZE_FMTX__="lX"
  define: __SIZE_FMTo__="lo"
  define: __SIZE_FMTu__="lu"
  define: __SIZE_FMTx__="lx"
  define: __SIZE_MAX__=18446744073709551615UL
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_WIDTH__=64
  define: __SSP__=1
  define: __STDCPP_DEFAULT_NEW_ALIGNMENT__=16UL
  define: __STDCPP_THREADS__=1
  define: __STDC_HOSTED__=1
  define: __STDC_NO_THREADS__=1
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  define: __STDC__=1
  define: __STRICT_ANSI__=1
  define: __UINT16_C_SUFFIX__=
  define: __UINT16_FMTX__="hX"
  define: __UINT16_FMTo__="ho"
  define: __UINT16_FMTu__="hu"
  define: __UINT16_FMTx__="hx"
  define: __UINT16_MAX__=65535
  define: __UINT16_TYPE__=unsigned short
  define: __UINT32_C_SUFFIX__=U
  define: __UINT32_FMTX__="X"
  define: __UINT32_FMTo__="o"
  define: __UINT32_FMTu__="u"
  define: __UINT32_FMTx__="x"
  define: __UINT32_MAX__=4294967295U
  define: __UINT32_TYPE__=unsigned int
  define: __UINT64_C_SUFFIX__=ULL
  define: __UINT64_FMTX__="llX"
  define: __UINT64_FMTo__="llo"
  define: __UINT64_FMTu__="llu"
  define: __UINT64_FMTx__="llx"
  define: __UINT64_MAX__=18446744073709551615ULL
  define: __UINT64_TYPE__=long long unsigned int
  define: __UINT8_C_SUFFIX__=
  define: __UINT8_FMTX__="hhX"
  define: __UINT8_FMTo__="hho"
  define: __UINT8_FMTu__="hhu"
  define: __UINT8_FMTx__="hhx"
  define: __UINT8_MAX__=255
  define: __UINT8_TYPE__=unsigned char
  define: __UINTMAX_C_SUFFIX__=UL
  define: __UINTMAX_FMTX__="lX"
  define: __UINTMAX_FMTo__="lo"
  define: __UINTMAX_FMTu__="lu"
  define: __UINTMAX_FMTx__="lx"
  define: __UINTMAX_MAX__=18446744073709551615UL
  define: __UINTMAX_TYPE__=long unsigned int
  define: __UINTMAX_WIDTH__=64
  define: __UINTPTR_FMTX__="lX"
  define: __UINTPTR_FMTo__="lo"
  define: __UINTPTR_FMTu__="lu"
  define: __UINTPTR_FMTx__="lx"
  define: __UINTPTR_MAX__=18446744073709551615UL
  define: __UINTPTR_TYPE__=long unsigned int
  define: __UINTPTR_WIDTH__=64
  define: __UINT_FAST16_FMTX__="hX"
  define: __UINT_FAST16_FMTo__="ho"
  define: __UINT_FAST16_FMTu__="hu"
  define: __UINT_FAST16_FMTx__="hx"
  define: __UINT_FAST16_MAX__=65535
  define: __UINT_FAST16_TYPE__=unsigned short
  define: __UINT_FAST32_FMTX__="X"
  define: __UINT_FAST32_FMTo__="o"
  define: __UINT_FAST32_FMTu__="u"
  define: __UINT_FAST32_FMTx__="x"
  define: __UINT_FAST32_MAX__=4294967295U
  define: __UINT_FAST32_TYPE__=unsigned int
  define: __UINT_FAST64_FMTX__="llX"
  define: __UINT_FAST64_FMTo__="llo"
  define: __UINT_FAST64_FMTu__="llu"
  define: __UINT_FAST64_FMTx__="llx"
  define: __UINT_FAST64_MAX__=18446744073709551615ULL
  define: __UINT_FAST64_TYPE__=long long unsigned int
  define: __UINT_FAST8_FMTX__="hhX"
  define: __UINT_FAST8_FMTo__="hho"
  define: __UINT_FAST8_FMTu__="hhu"
  define: __UINT_FAST8_FMTx__="hhx"
  define: __UINT_FAST8_MAX__=255
  define: __UINT_FAST8_TYPE__=unsigned char
  define: __UINT_LEAST16_FMTX__="hX"
  define: __UINT_LEAST16_FMTo__="ho"
  define: __UINT_LEAST16_FMTu__="hu"
  define: __UINT_LEAST16_FMTx__="hx"
  define: __UINT_LEAST16_MAX__=65535
  define: __UINT_LEAST16_TYPE__=unsigned short
  define: __UINT_LEAST32_FMTX__="X"
  define: __UINT_LEAST32_FMTo__="o"
  define: __UINT_LEAST32_FMTu__="u"
  define: __UINT_LEAST32_FMTx__="x"
  define: __UINT_LEAST32_MAX__=4294967295U
  define: __UINT_LEAST32_TYPE__=unsigned int
  define: __UINT_LEAST64_FMTX__="llX"
  define: __UINT_LEAST64_FMTo__="llo"
  define: __UINT_LEAST64_FMTu__="llu"
  define: __UINT_LEAST64_FMTx__="llx"
  define: __UINT_LEAST64_MAX__=18446744073709551615ULL
  define: __UINT_LEAST64_TYPE__=long long unsigned int
  define: __UINT_LEAST8_FMTX__="hhX"
  define: __UINT_LEAST8_FMTo__="hho"
  define: __UINT_LEAST8_FMTu__="hhu"
  define: __UINT_LEAST8_FMTx__="hhx"
  define: __UINT_LEAST8_MAX__=255
  define: __UINT_LEAST8_TYPE__=unsigned char
  define: __USER_LABEL_PREFIX__=_
  define: __VERSION__="Homebrew Clang 14.0.6"
  define: __WCHAR_MAX__=2147483647
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_MAX__=2147483647
  define: __WINT_TYPE__=int
  define: __WINT_WIDTH__=32
  define: __aarch64__=1
  define: __arm64=1
  define: __arm64__=1
  define: __clang__=1
  define: __clang_literal_encoding__="UTF-8"
  define: __clang_major__=14
  define: __clang_minor__=0
  define: __clang_patchlevel__=6
  define: __clang_version__="14.0.6 "
  define: __clang_wide_literal_encoding__="UTF-32"
  define: __cplusplus=201103L
  define: __llvm__=1
  define: __nonnull=_Nonnull
  define: __null_unspecified=_Null_unspecified
  define: __nullable=_Nullable
  define: __pic__=2
  define: __private_extern__=extern
  define: __strong=
  define: __unsafe_unretained=
  define: __weak=__attribute__((objc_gc(weak)))
  other: --clang
  other: --clang_version=140006
  stdver: c++11
  intelliSenseMode: macos-clang-arm64
Queueing IntelliSense update for files in translation unit of: /Users/$USER/Developer/Tutorials-and-Learning/Cpp11/Cpp-Primer/src/chapter14/ex14.44.cpp
call stack
~
❯ lldb -p 12011
(lldb) process attach --pid 12011
Process 12011 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00000001c1e089ec libsystem_kernel.dylib`__read_nocancel + 8
libsystem_kernel.dylib`:
->  0x1c1e089ec <+8>:  b.lo   0x1c1e08a0c               ; <+40>
    0x1c1e089f0 <+12>: pacibsp
    0x1c1e089f4 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1c1e089f8 <+20>: mov    x29, sp
Executable module set to "/Users/$USER/.vscode/extensions/ms-vscode.cpptools-1.12.0-darwin-arm64/bin/cpptools".
Architecture set to: arm64e-apple-macosx-.
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00000001c1e089ec libsystem_kernel.dylib`__read_nocancel + 8
    frame #1: 0x00000001c1d36714 libsystem_c.dylib`__sread + 24
    frame #2: 0x00000001c1d11618 libsystem_c.dylib`_sread + 32
    frame #3: 0x00000001c1d115ac libsystem_c.dylib`__srefill1 + 36
    frame #4: 0x00000001c1d2ca78 libsystem_c.dylib`__srget + 24
    frame #5: 0x00000001c1d3aba0 libsystem_c.dylib`getc + 72
    frame #6: 0x00000001c1db381c libc++.1.dylib`std::__1::__stdinbuf<char>::__getchar(bool) + 160
    frame #7: 0x00000001008687e4 cpptools`std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) + 148
    frame #8: 0x000000010082b64c cpptools`vscode::message_handler::main_loop() + 1644
    frame #9: 0x0000000100829e38 cpptools`main + 288
    frame #10: 0x0000000101e5d08c dyld`start + 520
  thread #2
    frame #0: 0x00000001c1e0cc20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x00000001010a8e58 cpptools`uv__io_poll + 724
    frame #2: 0x00000001010a24c0 cpptools`uv_run + 372
    frame #3: 0x000000010106b608 cpptools`msvc::loop_t::run_loop() + 64
    frame #4: 0x000000010106e6a8 cpptools`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #3
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #4
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #5
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #6
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #7
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #8
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #9
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #10
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010092d238 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #11
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x0000000100812cc8 cpptools`std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<std::__1::mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 268
    frame #4: 0x000000010092eb1c cpptools`unsigned int msvc::bitset_event_t::wait_for_any_set<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, unsigned int) + 112
    frame #5: 0x000000010092e9f0 cpptools`msvc::thread_t::invoker_t<vscode::thread_pool::thread_pool()::$_0>::invoke() + 164
    frame #6: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #7: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #12
    frame #0: 0x00000001c1e0cc20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x00000001010a8e58 cpptools`uv__io_poll + 724
    frame #2: 0x00000001010a24c0 cpptools`uv_run + 372
    frame #3: 0x000000010106b608 cpptools`msvc::loop_t::run_loop() + 64
    frame #4: 0x000000010106e6a8 cpptools`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #13
    frame #0: 0x00000001c1e089ec libsystem_kernel.dylib`__read_nocancel + 8
    frame #1: 0x00000001c1d6e930 libsystem_c.dylib`wordexp + 2220
    frame #2: 0x000000010108fc20 cpptools`msvc::parse_arguments(msvc::basic_zstring_view<char>) + 60
    frame #3: 0x00000001007d8538 cpptools`cpp_properties::set_custom_browse_path(vscode::WorkspaceBrowseConfiguration const&) + 768
    frame #4: 0x0000000100842ed0 cpptools`vscode::message_handler::cpptools_didChangeCustomBrowseConfiguration(vscode::CustomBrowseConfigurationParams) + 124
    frame #5: 0x000000010083007c cpptools`vscode::message_handler::dispatch(vscode::vscode_client_message&&, vscode::vscode_server_message&, vscode::message_handler::msg_proc_thread_token) + 10016
    frame #6: 0x000000010082d890 cpptools`vscode::message_handler::handle_message(vscode::vscode_client_message&&, vscode::message_handler::msg_proc_thread_token) + 52
    frame #7: 0x000000010089b268 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_5, std::__1::allocator<vscode::message_handler::main_loop()::$_5>, void ()>::operator()() + 1996
    frame #8: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #9: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #14
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089c2c8 cpptools`vscode::message_deque<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false>::pop_impl(bool) + 92
    frame #4: 0x000000010089c17c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_6, std::__1::allocator<vscode::message_handler::main_loop()::$_6>, void ()>::operator()() + 48
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #15
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089d904 cpptools`vscode::message_deque<vscode::folding_ranges_params, false>::pop_impl(bool) + 92
    frame #4: 0x000000010089d73c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_9, std::__1::allocator<vscode::message_handler::main_loop()::$_9>, void ()>::operator()() + 80
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #16
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089cd70 cpptools`vscode::message_deque<vscode::browse_engine_update_action, false>::pop_impl(bool) + 84
    frame #4: 0x000000010089c60c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_7, std::__1::allocator<vscode::message_handler::main_loop()::$_7>, void ()>::operator()() + 156
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #17
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089de3c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x000000010089dcf4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_10, std::__1::allocator<vscode::message_handler::main_loop()::$_10>, void ()>::operator()() + 68
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #18
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089de3c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x000000010089dff4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_11, std::__1::allocator<vscode::message_handler::main_loop()::$_11>, void ()>::operator()() + 68
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #19
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089e5b8 cpptools`vscode::message_deque<vscode::message_handler::parse_file_entry, true>::pop_impl(bool) + 92
    frame #4: 0x000000010089e1a4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_12, std::__1::allocator<vscode::message_handler::main_loop()::$_12>, void ()>::operator()() + 112
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #20
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089de3c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x000000010089eaf4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_13, std::__1::allocator<vscode::message_handler::main_loop()::$_13>, void ()>::operator()() + 68
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #21
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x000000010089eeb8 cpptools`vscode::message_deque<int, false>::pop_impl(bool, int&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 148
    frame #4: 0x000000010089ed6c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_14, std::__1::allocator<vscode::message_handler::main_loop()::$_14>, void ()>::operator()() + 316
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #22
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100812914 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010089f208 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_15, std::__1::allocator<vscode::message_handler::main_loop()::$_15>, void ()>::operator()() + 196
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #23
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010089d518 cpptools`vscode::message_deque<int, false>::pop_impl(bool) + 84
    frame #4: 0x000000010089d440 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_8, std::__1::allocator<vscode::message_handler::main_loop()::$_8>, void ()>::operator()() + 52
    frame #5: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #24
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001010afa7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010109eebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #25
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001010afa7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010109eebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #26
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001010afa7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010109eebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #27
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001010afa7c cpptools`uv_cond_wait + 12
    frame #3: 0x000000010109eebc cpptools`worker + 112
    frame #4: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
  thread #28
    frame #0: 0x00000001c1e0a270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001c1e4483c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001c1d93284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100eb6604 cpptools`run_tag_parser() + 348
    frame #4: 0x0000000100e49f2c cpptools`process_translation_unit(char const*, int, an_exported_template_file*) + 912
    frame #5: 0x0000000100ac56b8 cpptools`cfe_main(int, char**) + 136
    frame #6: 0x0000000100e702b4 cpptools`cfe_main_exception_handler(int, char**) + 12
    frame #7: 0x0000000100ac57a4 cpptools`edg_main(int, char**) + 12
    frame #8: 0x0000000100eba048 cpptools`antlr_parse_routine() + 488
    frame #9: 0x000000010108f7f4 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #10: 0x00000001c1e4426c libsystem_pthread.dylib`_pthread_start + 148
(lldb) exit
Quitting LLDB will detach from one or more processes. Do you really want to proceed: [Y/n] y

@sean-mcmanus sean-mcmanus removed the more info needed The issue report is not actionable in its current state label Aug 5, 2022
@sean-mcmanus sean-mcmanus added this to the 1.12 milestone Aug 5, 2022
@Colengms
Copy link
Collaborator

Colengms commented Aug 5, 2022

Hi @lucasaf04 . It looks like our call to the OS api function wordexp is simply not returning. I'm not able easily to reproduce the issue on my mac with the same compilerFragments. The call to wordexp is used to resolve compilerFragments in the same way that the current shell would, such as to remove shell quoting and escaping. https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/wordexp.3.html

The compilerFragments in your logs are not unusual. They don't even contain shell quoting or escaping. And we're not yet getting reports about this issue from other Mac users. Is there anything unusual about how the shell is configured on your system?

@sean-mcmanus
Copy link
Collaborator Author

Yeah, same here.

@lucasaf04
Copy link

@Colengms
Here is my .zshenv, if .zshrc is also necessary I'll edit this message.

.zshenv
#
# User configuration sourced by all invocations of the shell
#

# Disable using /etc/zprofile, /etc/zshrc and /etc/zshrc_Apple_Terminal
# This allows setting $PATH in custom order and not in the one provided by /usr/libexec/path_helper
setopt NO_GLOBAL_RCS

export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

export DOTFILES_PATH="$HOME/.dotfiles"
export ZDOTDIR="$DOTFILES_PATH/shell/zsh"
export DOTLY_PATH="$DOTFILES_PATH/modules/dotly"

if [[ $OSTYPE =~ darwin ]]; then
    if [[ $CPUTYPE == arm64 ]]; then
        export HOMEBREW_PREFIX="/opt/homebrew"
        export HOMEBREW_CELLAR="/opt/homebrew/Cellar"
        export HOMEBREW_REPOSITORY="/opt/homebrew"

    elif [[ $CPUTYPE == x86_64 ]]; then
        export HOMEBREW_PREFIX="/usr/local"
        export HOMEBREW_CELLAR="/usr/local/Cellar"
        export HOMEBREW_REPOSITORY="/usr/local/Homebrew"
    fi

    # Load path_helper to set up sane $PATH
    if [ -x /usr/libexec/path_helper ]; then
        source <(/usr/libexec/path_helper -s)
    fi

    typeset -U PATH path
    export path=("$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin" "$HOMEBREW_PREFIX/opt/llvm/bin" "$HOME/.cargo/bin" "$HOME/Library/Python/3.8/bin" "$path[@]")

fi

@Colengms Colengms added the To Verify - Internal To verify if issue reproduces label Aug 5, 2022
@v-ericawu v-ericawu added Not Repro - Internal Verified issue does not reproduce and removed To Verify - Internal To verify if issue reproduces labels Aug 9, 2022
@Colengms Colengms added the more info needed The issue report is not actionable in its current state label Aug 16, 2022
@sean-mcmanus sean-mcmanus modified the milestones: 1.12, 1.13 Aug 18, 2022
@bobbrow bobbrow modified the milestones: 1.13, Backlog Aug 23, 2022
@lucasaf04
Copy link

@Colengms Any news?

@sean-mcmanus
Copy link
Collaborator Author

Our team isn't able to repro the issue.

@Colengms Has anyone tried the repro with the .zshenv? I did not.

@Colengms Colengms added the investigate: repro This issue's repro steps needs to be investigated/confirmed label Aug 26, 2022
@Colengms
Copy link
Collaborator

@v-ericawu When you tried to repro this, were you able to set up an environment that leveraged the provided .zshenv file?

@v-ericawu
Copy link
Collaborator

@Colengms IntelliSense loads normally after setting the .zshenv file:
image

@lucasaf04
Copy link

@v-ericawu It also does for me. The problem occurs somewhere in between editing and running the target. Sometimes it happens on the first run, sometimes after several runs. That's why I couldn't make a video reproing the problem, it happens randomly.
I don't know what else I can do to help.
Hope it gets fixed soon because its very annoying having to go to activity monitor to kill all cpptools processes to fix IntelliSense (restarting vscode without manual kill of cpptools keeps the processes alive)

@lucasaf04
Copy link

@Colengms I have a video reproing the issue (most of it is just editing code and running the program)
Hope it helps.

Screen.Recording.2022-09-06.at.13.14.40.part.1.mov
Screen.Recording.2022-09-06.at.13.14.40.part.2.mov
.zshenv (only sets up path. no more zsh config files)
#
# User configuration sourced by all invocations of the shell
#

# Disable using /etc/zprofile, /etc/zshrc and /etc/zshrc_Apple_Terminal
# This allows setting $PATH in custom order and not in the one provided by /usr/libexec/path_helper
setopt NO_GLOBAL_RCS

export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

# export DOTFILES_PATH="$HOME/.dotfiles"
# export ZDOTDIR="$DOTFILES_PATH/shell/zsh"
# export DOTLY_PATH="$DOTFILES_PATH/modules/dotly"

if [[ $OSTYPE =~ darwin ]]; then
    if [[ $CPUTYPE == arm64 ]]; then
        export HOMEBREW_PREFIX="/opt/homebrew"
        export HOMEBREW_CELLAR="/opt/homebrew/Cellar"
        export HOMEBREW_REPOSITORY="/opt/homebrew"

    elif [[ $CPUTYPE == x86_64 ]]; then
        export HOMEBREW_PREFIX="/usr/local"
        export HOMEBREW_CELLAR="/usr/local/Cellar"
        export HOMEBREW_REPOSITORY="/usr/local/Homebrew"
    fi

    # Load path_helper to set up sane $PATH
    if [ -x /usr/libexec/path_helper ]; then
        source <(/usr/libexec/path_helper -s)
    fi

    typeset -U PATH path
    export path=("$HOMEBREW_PREFIX/bin" "$HOMEBREW_PREFIX/sbin" "$HOMEBREW_PREFIX/opt/llvm/bin" "$HOME/.cargo/bin" "$HOME/Library/Python/3.8/bin" "$path[@]")

    # typeset -U MANPATH manpath
    # export manpath=("$HOMEBREW_PREFIX/share/man" "/usr/share/man" "$manpath[@]")
    # export INFOPATH=("$HOMEBREW_PREFIX/share/info" "$INFOPATH[@]")
    # export MANPATH="$HOMEBREW_PREFIX/share/man${MANPATH+:$MANPATH}:"
    # export INFOPATH="$HOMEBREW_PREFIX/share/info:${INFOPATH:-}"

    # export EDITOR="$HOMEBREW_PREFIX/bin/subl --wait"

    # export CPPFLAGS=-I$HOMEBREW_PREFIX/include
    # export LDFLAGS=-L$HOMEBREW_PREFIX/lib
fi
call stack (cpptools)
MacBook-Pro% lldb -p 38407
(lldb) process attach --pid 38407
Process 38407 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00000001baba4834 libsystem_kernel.dylib`__ulock_wait + 8
libsystem_kernel.dylib`:
->  0x1baba4834 <+8>:  b.lo   0x1baba4854               ; <+40>
    0x1baba4838 <+12>: pacibsp
    0x1baba483c <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1baba4840 <+20>: mov    x29, sp
Executable module set to "/Users/lucasaf04/.vscode/extensions/ms-vscode.cpptools-1.12.4-darwin-arm64/bin/cpptools".
Architecture set to: arm64e-apple-macosx-.
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00000001baba4834 libsystem_kernel.dylib`__ulock_wait + 8
    frame #1: 0x00000001babe25a0 libsystem_pthread.dylib`_pthread_join + 444
    frame #2: 0x0000000100c4272c cpptools`msvc::thread_t::join() + 52
    frame #3: 0x00000001003d6a90 cpptools`vscode::message_handler::shutdown() + 152
    frame #4: 0x00000001003d6330 cpptools`vscode::message_handler::main_loop() + 3152
    frame #5: 0x00000001003d4538 cpptools`main + 288
    frame #6: 0x0000000101a2d08c dyld`start + 520
  thread #2
    frame #0: 0x00000001baba8c20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x0000000100c5bd3c cpptools`uv__io_poll + 724
    frame #2: 0x0000000100c553a4 cpptools`uv_run + 372
    frame #3: 0x0000000100c1ab28 cpptools`msvc::loop_t::run_loop() + 64
    frame #4: 0x0000000100c1dbc8 cpptools`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #3
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #4
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #5
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #6
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #7
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #8
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #9
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #10
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x00000001004dac74 cpptools`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #11
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x00000001003bd404 cpptools`std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<std::__1::mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 268
    frame #4: 0x00000001004dc558 cpptools`unsigned int msvc::bitset_event_t::wait_for_any_set<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, unsigned int) + 112
    frame #5: 0x00000001004dc42c cpptools`msvc::thread_t::invoker_t<vscode::thread_pool::thread_pool()::$_0>::invoke() + 164
    frame #6: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #7: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #12
    frame #0: 0x00000001baba8c20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x0000000100c5bd3c cpptools`uv__io_poll + 724
    frame #2: 0x0000000100c553a4 cpptools`uv_run + 372
    frame #3: 0x0000000100c1ab28 cpptools`msvc::loop_t::run_loop() + 64
    frame #4: 0x0000000100c1dbc8 cpptools`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #13
    frame #0: 0x00000001baba49ec libsystem_kernel.dylib`__read_nocancel + 8
    frame #1: 0x00000001bab0a930 libsystem_c.dylib`wordexp + 2220
    frame #2: 0x0000000100c42b04 cpptools`msvc::parse_arguments(msvc::basic_zstring_view<char>) + 60
    frame #3: 0x0000000100381284 cpptools`cpp_properties::set_custom_browse_path(vscode::WorkspaceBrowseConfiguration const&) + 768
    frame #4: 0x00000001003ed68c cpptools`vscode::message_handler::cpptools_didChangeCustomBrowseConfiguration(vscode::CustomBrowseConfigurationParams) + 124
    frame #5: 0x00000001003da77c cpptools`vscode::message_handler::dispatch(vscode::vscode_client_message&&, vscode::vscode_server_message&, vscode::message_handler::msg_proc_thread_token) + 10016
    frame #6: 0x00000001003d7f90 cpptools`vscode::message_handler::handle_message(vscode::vscode_client_message&&, vscode::message_handler::msg_proc_thread_token) + 52
    frame #7: 0x00000001004477a8 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_7, std::__1::allocator<vscode::message_handler::main_loop()::$_7>, void ()>::operator()() + 1996
    frame #8: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #9: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #14
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100448808 cpptools`vscode::message_deque<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false>::pop_impl(bool) + 92
    frame #4: 0x00000001004486bc cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_8, std::__1::allocator<vscode::message_handler::main_loop()::$_8>, void ()>::operator()() + 48
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #15
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100449e44 cpptools`vscode::message_deque<vscode::folding_ranges_params, false>::pop_impl(bool) + 92
    frame #4: 0x0000000100449c7c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_11, std::__1::allocator<vscode::message_handler::main_loop()::$_11>, void ()>::operator()() + 80
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #16
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001004492b0 cpptools`vscode::message_deque<vscode::browse_engine_update_action, false>::pop_impl(bool) + 84
    frame #4: 0x0000000100448b4c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_9, std::__1::allocator<vscode::message_handler::main_loop()::$_9>, void ()>::operator()() + 156
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #17
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x0000000100c62960 cpptools`uv_cond_wait + 12
    frame #3: 0x0000000100c51da0 cpptools`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #18
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x0000000100c62960 cpptools`uv_cond_wait + 12
    frame #3: 0x0000000100c51da0 cpptools`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #19
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x0000000100c62960 cpptools`uv_cond_wait + 12
    frame #3: 0x0000000100c51da0 cpptools`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #20
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x0000000100c62960 cpptools`uv_cond_wait + 12
    frame #3: 0x0000000100c51da0 cpptools`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #21
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010044a37c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x000000010044a234 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_12, std::__1::allocator<vscode::message_handler::main_loop()::$_12>, void ()>::operator()() + 68
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #22
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010044a37c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x000000010044a534 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_13, std::__1::allocator<vscode::message_handler::main_loop()::$_13>, void ()>::operator()() + 68
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #23
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010044ab00 cpptools`vscode::message_deque<vscode::message_handler::parse_file_entry, true>::pop_impl(bool) + 92
    frame #4: 0x000000010044a6e4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_14, std::__1::allocator<vscode::message_handler::main_loop()::$_14>, void ()>::operator()() + 112
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #24
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x000000010044a37c cpptools`vscode::message_deque<vscode::vscode_client_message, false>::pop_impl(bool) + 96
    frame #4: 0x000000010044b03c cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_15, std::__1::allocator<vscode::message_handler::main_loop()::$_15>, void ()>::operator()() + 68
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #25
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x000000010044b400 cpptools`vscode::message_deque<int, false>::pop_impl(bool, int&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 148
    frame #4: 0x000000010044b2b4 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_16, std::__1::allocator<vscode::message_handler::main_loop()::$_16>, void ()>::operator()() + 316
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #26
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x00000001003bd050 cpptools`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x000000010044b750 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_17, std::__1::allocator<vscode::message_handler::main_loop()::$_17>, void ()>::operator()() + 196
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #27
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100449a58 cpptools`vscode::message_deque<int, false>::pop_impl(bool) + 84
    frame #4: 0x0000000100449980 cpptools`std::__1::__function::__func<vscode::message_handler::main_loop()::$_10, std::__1::allocator<vscode::message_handler::main_loop()::$_10>, void ()>::operator()() + 52
    frame #5: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #28
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100a65084 cpptools`run_tag_parser() + 348
    frame #4: 0x00000001009f8924 cpptools`process_translation_unit(char const*, int, an_exported_template_file*) + 912
    frame #5: 0x0000000100672e90 cpptools`cfe_main(int, char**) + 136
    frame #6: 0x0000000100a1ecac cpptools`cfe_main_exception_handler(int, char**) + 12
    frame #7: 0x0000000100672f7c cpptools`edg_main(int, char**) + 12
    frame #8: 0x0000000100a68ac8 cpptools`antlr_parse_routine() + 488
    frame #9: 0x0000000100c426d8 cpptools`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #10: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
(lldb) exit
Quitting LLDB will detach from one or more processes. Do you really want to proceed: [Y/n] y
call stack (cpptools-srv)
MacBook-Pro% lldb -p 40876
(lldb) process attach --pid 40876
Process 40876 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
libsystem_kernel.dylib`:
->  0x1baba6270 <+8>:  b.lo   0x1baba6290               ; <+40>
    0x1baba6274 <+12>: pacibsp
    0x1baba6278 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1baba627c <+20>: mov    x29, sp
Executable module set to "/Users/lucasaf04/.vscode/extensions/ms-vscode.cpptools-1.12.4-darwin-arm64/bin/cpptools-srv".
Architecture set to: arm64e-apple-macosx-.
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x0000000100b237bc cpptools-srv`std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<std::__1::mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 268
    frame #4: 0x0000000100b1cd34 cpptools-srv`bool msvc::event_t::wait_for<long long, std::__1::ratio<1l, 1l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1l> > const&) + 100
    frame #5: 0x0000000100b1c8f4 cpptools-srv`RunServer(unsigned int, char const*) + 400
    frame #6: 0x0000000100b1cfe4 cpptools-srv`main + 124
    frame #7: 0x000000010189108c dyld`start + 520
  thread #2
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #3
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #4
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #5
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #6
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #7
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #8
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #9
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100fd0708 cpptools-srv`void std::__1::condition_variable_any::wait<std::__1::unique_lock<std::__1::mutex> >(std::__1::unique_lock<std::__1::mutex>&) + 100
    frame #4: 0x0000000100f7dc7c cpptools-srv`vscode::thread_pool::do_work(unsigned long) + 340
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #10
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f320 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
    frame #3: 0x0000000100b237bc cpptools-srv`std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<std::__1::mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 268
    frame #4: 0x0000000100f7f560 cpptools-srv`unsigned int msvc::bitset_event_t::wait_for_any_set<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&, unsigned int) + 112
    frame #5: 0x0000000100f7f434 cpptools-srv`msvc::thread_t::invoker_t<vscode::thread_pool::thread_pool()::$_0>::invoke() + 164
    frame #6: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #7: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #11
    frame #0: 0x00000001baba8c20 libsystem_kernel.dylib`kevent + 8
    frame #1: 0x0000000101008f4c cpptools-srv`uv__io_poll + 724
    frame #2: 0x00000001010025b4 cpptools-srv`uv_run + 372
    frame #3: 0x0000000100fcdad4 cpptools-srv`msvc::loop_t::run_loop() + 64
    frame #4: 0x0000000100fd0d90 cpptools-srv`msvc::thread_t::invoker_t<void (*)(std::__1::shared_ptr<msvc::loop_t>), std::__1::shared_ptr<msvc::loop_t>&>::invoke() + 40
    frame #5: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #6: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #12
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010100fb70 cpptools-srv`uv_cond_wait + 12
    frame #3: 0x0000000100ffefb0 cpptools-srv`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #13
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010100fb70 cpptools-srv`uv_cond_wait + 12
    frame #3: 0x0000000100ffefb0 cpptools-srv`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #14
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010100fb70 cpptools-srv`uv_cond_wait + 12
    frame #3: 0x0000000100ffefb0 cpptools-srv`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #15
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x000000010100fb70 cpptools-srv`uv_cond_wait + 12
    frame #3: 0x0000000100ffefb0 cpptools-srv`worker + 112
    frame #4: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
  thread #16
    frame #0: 0x00000001baba6270 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x00000001babe083c libsystem_pthread.dylib`_pthread_cond_wait + 1236
    frame #2: 0x00000001bab2f284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
    frame #3: 0x0000000100ef1a4c cpptools-srv`a_compiler_thread::fetch_fragment() + 120
    frame #4: 0x0000000100f19548 cpptools-srv`before_tu_wrapup() + 412
    frame #5: 0x0000000100eb3b30 cpptools-srv`process_translation_unit(char const*, int, an_exported_template_file*) + 912
    frame #6: 0x0000000100b2e09c cpptools-srv`cfe_main(int, char**) + 136
    frame #7: 0x0000000100ed9f44 cpptools-srv`cfe_main_exception_handler(int, char**) + 12
    frame #8: 0x0000000100b2e188 cpptools-srv`edg_main(int, char**) + 12
    frame #9: 0x0000000100ece4b4 cpptools-srv`edge_compiler_main(int, char const**) + 7648
    frame #10: 0x0000000100f19b80 cpptools-srv`preparse(int, char const**, a_scout_store*, edge::translation_unit*) + 248
    frame #11: 0x0000000100ef181c cpptools-srv`a_compiler_thread::compiler_thread_routine(a_compiler_thread*) + 300
    frame #12: 0x0000000100ff89e0 cpptools-srv`msvc::thread_helper_t::thread_entry(void*) + 28
    frame #13: 0x00000001babe026c libsystem_pthread.dylib`_pthread_start + 148
(lldb) exit
Quitting LLDB will detach from one or more processes. Do you really want to proceed: [Y/n] y

@sean-mcmanus sean-mcmanus pinned this issue Sep 30, 2022
@sean-mcmanus
Copy link
Collaborator Author

Yeah, we have a change for 1.13.2 that should improve or fix this (our target is next Tuesday).

@Zingam
Copy link

Zingam commented Sep 30, 2022

I also experience such issue on macOS. Just hovering the mouse over something to see the details can result in the "Loading..." hover and the flame icon in the status bar is stuck on Updating IntelliSense forever.

@sean-mcmanus
Copy link
Collaborator Author

@Zingam Yeah, we believe a significant number of Mac users are randomly hitting this, most of whom probably aren't aware they're hitting this particular bug. I'm not 100% sure you're hitting this or not without knowing the cpptools call stacks, but you should know after we release the fix.

@sean-mcmanus
Copy link
Collaborator Author

sean-mcmanus commented Oct 6, 2022

https://github.com/microsoft/vscode-cpptools/releases/tag/v1.13.2 has a change that may reduce the occurrence of this but it's not fixed yet. Setting C_Cpp.experimentalFeatures to true may fix this, but we're still running tests to determine if that's true or not. There is a separate "Failed to spawn IntelliSense process" failure that can occur on Mac-only which we're also investigating, but no thread gets stuck in that case.

@albertcaldas84
Copy link

Ok, will get it. Thanks! Anything you want us to test?

@sean-mcmanus
Copy link
Collaborator Author

sean-mcmanus commented Oct 6, 2022

Well, we've found a way to repro the bug(s) and test the potential fix(es) ourselves (still in progress), so we don't necessarily need anyone to test anything...up to you.

@albertcaldas84
Copy link

That sounds awesome. I've enabled the experimental feature anyway, will tell.

@sean-mcmanus sean-mcmanus modified the milestones: 1.13.2, 1.13.3 Oct 6, 2022
@sean-mcmanus
Copy link
Collaborator Author

Our testing indicates it's fixed when C_Cpp.experimentalFeatures is set to true, so we'll move those changes to the non-experimental case for 1.13.3.

@H-G-Hristov
Copy link

With 1.13.2 I still happened that I was unable to cmd+click to a definition of a Core Foundation type (Apple SDK header).
There was no stuck flame.

After I restarted VSCode the issue fixed itself.

Is cmd+click issue related to the wordexp issue?

@sean-mcmanus
Copy link
Collaborator Author

@H-G-Hristov That sounds like a different issue. If wordexp is stuck then all IntelliSense operations would be stuck and wordexp would be on a call stack. If only Go to Definition doesn't work that could be caused by something else. Are you able to provide more repro info or logging or a call stack? It sounds like it's random?

@albertcaldas84
Copy link

I confirm that I haven't had any hang in the whole morning. Thanks sean :)

@lucasaf04
Copy link

After using the extension for several days I haven't had any issues.

@sean-mcmanus It would be nice to have a tiny explanation of what exactly caused the bug and how you fixed it. Just curiosity, because it has been such an annoying bug.

Thanks.

@sean-mcmanus
Copy link
Collaborator Author

The wordexp call was launching a process internally on Mac and some Linux implementations and that would cause handles to be inherited by that process if another of our threads was creating an IntelliSense process at the same time, so it would be random. Our automated tests managed to repro it in a loop. So we just added a lock to prevent that. We'd hit similar issues in the past.

@lucasaf04
Copy link

Thanks :)

@H-G-Hristov
Copy link

H-G-Hristov commented Oct 26, 2022

I notices that the release notes changed from "Fixed and reduced" to "Reduced" is this still not fixed fully? The situation with the preview release is certainly significantly better than it used to be. In a matter of fact I can't remember if the issue has occurred to me since the last update.

@sean-mcmanus
Copy link
Collaborator Author

The fix is available with 1.13.3 (pre-release): https://github.com/microsoft/vscode-cpptools/releases/tag/v1.13.3 -- @H-G-Hristov with 1.13.2 the experimentalFeatures setting had to be set in order for it to be fully fixed (otherwise it was just "reduced").

@sean-mcmanus
Copy link
Collaborator Author

sean-mcmanus commented Dec 7, 2022

This has been fixed with insiders for over a month, but it's now available in non-insiders: https://github.com/microsoft/vscode-cpptools/releases/tag/v1.13.6

@sean-mcmanus sean-mcmanus unpinned this issue Dec 7, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service Not Repro - Internal Verified issue does not reproduce regression A bug that didn't exist in a previous release reliability
Projects
None yet
Development

No branches or pull requests

8 participants