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

[Bug]: Copilot attaches to side panel instead of text editor #415

Closed
2 tasks done
nrbrook opened this issue Jan 17, 2024 · 46 comments
Closed
2 tasks done

[Bug]: Copilot attaches to side panel instead of text editor #415

nrbrook opened this issue Jan 17, 2024 · 46 comments
Assignees
Labels
bug Something isn't working stale

Comments

@nrbrook
Copy link

nrbrook commented Jan 17, 2024

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

What happened?

It appears Copilot for Xcode frequently attaches to the side panel instead of the text editor. This means I get no suggestions when typing unless I tab to another app and back.

How to reproduce the bug.

I don't know what causes it right now, but it happens a lot (every few minutes). Will continue to observe it.

Relevant log output

No response

macOS version

14.2.1 (23C71)

Xcode version

Version 15.0 (15A240d)

Copilot for Xcode version

0.29.1

Node version

No response

Screenshot 2024-01-17 at 10 39 26
@nrbrook nrbrook added the bug Something isn't working label Jan 17, 2024
@intitni
Copy link
Owner

intitni commented Jan 17, 2024

One possible reason is that the app failed to refresh or find the focused editor for some reasons.

Could you please also pay attention to the following things when you encounter this issue again:

  • Does the circular widget animate when you type?
  • Can you make it reattach to the editor by switching to another editor, another element (quick open, file list, etc.), and switch back?
  • What is the CPU usage of CopilotForXcodeExtensionService?
  • It would be great if you could also turn on "Xcode Inspector Debug" in the advanced settings and check if the information there looks normal.
Screenshot 2024-01-17 at 21 46 02

You can find the information from the menu bar item.

Screenshot 2024-01-17 at 21 46 15

@nrbrook
Copy link
Author

nrbrook commented Jan 17, 2024

Does the circular widget animate when you type?

No

Can you make it reattach to the editor by switching to another editor, another element (quick open, file list, etc.), and switch back?

I can't make it work by doing anything in Xcode (e.g. new file dialog, clicking between tabs, clicking between files), but clicking the circle to bring up the chat window, then clicking back to Xcode makes it work. Also switching to another app and back makes it work

What is the CPU usage of CopilotForXcodeExtensionService?

< 1% at any time (when it isn't processing typing)

It would be great if you could also turn on "Xcode Inspector Debug" in the advanced settings and check if the information there looks normal.

This is when the issue is occurring
Screenshot 2024-01-17 at 17 37 06

@intitni
Copy link
Owner

intitni commented Jan 18, 2024

I am not able to reproduce it. I added a few logs to this build

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.240118.zip

It would be great if you could try it out and let me know if you notice that some logs are printing as expected when you encounter this issue.

You can check the logs in Console.app, by setting the filter to

subsystem:com.intii.CopilotForXcode
category:Debugging

Here are the possible logs:

Screenshot 2024-01-18 at 14 46 37

Another log that may be relevant is the AXObserver errors, you can see them by setting the filter to:

subsystem:com.intii.CopilotForXcode
category:Service
any:AXObserver

@nrbrook
Copy link
Author

nrbrook commented Jan 18, 2024

I just see a lot of Widget: Generate widget location (not source editor):

debug	10:38:01.245939+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:01.245939+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:01.831990+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:01.831990+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:02.866030+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:02.866030+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:03.780968+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:03.780968+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:04.172458+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:04.172458+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:04.857002+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:04.857002+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:11.159729+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:11.159729+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:13.256880+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:13.256880+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:13.261603+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:13.261603+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:14.423974+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:14.423974+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:15.660101+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:15.660101+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:16.708118+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:16.708118+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
info	10:38:46.056071+0000	CopilotForXcodeExtensionService	Service	TabToAcceptSuggestion: Deactivate.
info	10:38:46.056071+0000	CopilotForXcodeExtensionService	Service	TabToAcceptSuggestion: Deactivate.
debug	10:38:46.121488+0000	CopilotForXcodeExtensionService	Debugging	Widget: Switch active app to Other apps.
debug	10:38:46.121488+0000	CopilotForXcodeExtensionService	Debugging	Widget: Switch active app to Other apps.
debug	10:38:46.177548+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)
debug	10:38:46.177548+0000	CopilotForXcodeExtensionService	Debugging	Widget: Generate widget location (not source editor)

At the end I cmd+tab to console. I had filtered only by subsystem:com.intii.CopilotForXcode

@nrbrook
Copy link
Author

nrbrook commented Jan 18, 2024

This might be a different issue, but when it is working, but I've stopped typing (after accepting a suggestion) logs continue to be printed from the console for 10-20s, and the circle is pulsing, but nothing happens and eventually it stops. Logs:

Logs ``` debug 10:56:26.216089+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.216089+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.318005+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.318005+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.342669+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.342669+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.359160+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.359160+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.468931+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.468931+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.469702+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.469702+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.470453+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.470453+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.471090+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.471090+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.471735+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.471735+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.472345+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.472345+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.997904+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:26.997904+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:27.575609+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:27.575609+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:27.577063+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:27.577063+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:28.029814+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:28.029814+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:28.045526+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:28.045526+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:28.048783+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:28.048783+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:28.049410+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:28.049410+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:28.062711+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:28.062711+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:28.067809+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:28.067809+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:28.131951+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:28.131951+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:28.132385+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:28.132385+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:28.133323+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:28.133323+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:28.137402+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:28.137402+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:28.141124+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:28.141124+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:28.143966+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:28.143966+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:29.761830+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:29.761830+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:29.766410+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Project Navigator debug 10:56:29.766410+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Project Navigator debug 10:56:29.773021+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (not source editor) debug 10:56:29.773021+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (not source editor) debug 10:56:32.038228+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:32.038228+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:32.038450+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:32.038450+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:32.038645+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:32.038645+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:32.038983+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:32.038983+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:32.040467+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:32.040467+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:32.044696+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:32.044696+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:34.484986+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:34.484986+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:34.581773+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:34.581773+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:34.593355+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:34.593355+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:34.687410+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:34.687410+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:34.711016+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:34.711016+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:34.756001+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:34.756001+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:34.757261+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:34.757261+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:34.792295+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:34.792295+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:34.831801+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:34.831801+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:34.832088+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:34.832088+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.013845+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:35.013845+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:35.061155+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:35.061155+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:35.061310+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.061310+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.098325+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:35.098325+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:35.100639+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:35.100639+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:35.100671+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.100671+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.379869+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:35.379869+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:35.417260+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:35.417260+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:35.417319+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.417319+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:35.548017+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:35.548017+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:35.827783+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:35.827783+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:35.931696+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:35.931696+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:35.945339+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:35.945339+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:36.058445+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:36.058445+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:36.125524+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:36.125524+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:36.130036+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:36.130036+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:36.132705+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:36.132705+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:36.157547+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:36.157547+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:36.159053+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:36.159053+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:36.159198+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:36.159198+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:36.159635+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:36.159635+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:36.162185+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:36.162185+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:36.164076+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:36.164076+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:36.167984+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:36.167984+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:36.169240+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:36.169240+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:36.632282+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:36.632282+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:38.093254+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.093254+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.335115+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.335115+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.716326+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.716326+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.915993+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:38.915993+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.095251+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.095251+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.261149+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.261149+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.436142+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.436142+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.616997+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:39.616997+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.192420+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:40.192420+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:40.194233+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:40.194233+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:40.344775+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.344775+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.419409+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.419699+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.419409+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.419699+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.515636+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.515636+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.552788+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:40.552788+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:40.561224+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.561224+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.561496+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.561496+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.612431+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.612431+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.622261+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.622261+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.622319+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.622319+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.889816+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.889816+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.914153+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.914153+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:40.914263+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.914263+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:40.978997+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:40.978997+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:41.015595+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:41.015595+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:41.015815+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:41.015815+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:41.326926+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:41.326926+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:41.352665+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:41.352665+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:41.359973+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:41.359973+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:41.492224+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:41.492224+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:41.862036+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:41.862036+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:41.867146+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:41.867146+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:41.944300+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:41.944300+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:42.505017+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:42.506891+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:42.505017+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:42.506891+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:42.831490+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:42.831490+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:42.893855+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:42.893855+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:42.894387+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:42.894387+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:43.027720+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:43.027720+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:43.061631+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:43.061631+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:43.061705+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:43.061705+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:43.554646+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:43.554646+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:43.576534+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:43.576534+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:43.762454+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:43.762454+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:43.835679+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:43.835679+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:43.835769+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:43.835769+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:43.912904+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:43.912904+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:43.956598+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:43.956598+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:43.993041+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:43.993041+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:43.993329+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:43.993329+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.056262+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.056262+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.097207+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.097207+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.101010+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.101010+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.195144+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.195144+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.229553+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.229553+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.229842+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.229842+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.265933+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.265933+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.281125+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.281125+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.281198+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.281198+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.477663+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.477663+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.510458+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.510458+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.510534+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.510534+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.520128+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:44.520128+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:44.710047+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.710047+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:44.765276+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.765276+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:44.765331+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.765331+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:44.884177+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:44.884177+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:45.248600+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.248600+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.316337+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.316337+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.317487+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.317502+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.317487+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.317502+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.318851+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.318851+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.480420+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.480420+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.530950+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:45.530950+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:45.533884+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.533884+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.533977+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.533977+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.544871+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.544871+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.549266+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.549266+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.549319+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.549319+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.711735+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.711735+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.749737+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.749737+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.749804+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.749804+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.755492+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:45.755492+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:45.830925+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.830925+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.868067+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.868067+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:45.868143+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.868143+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:45.980855+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:45.980855+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:46.025402+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:46.025402+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:46.025456+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:46.025456+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:46.264564+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:46.264564+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:46.332072+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:46.332072+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:46.348386+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:46.348386+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:46.366025+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:46.366025+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:46.366338+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:46.366338+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:46.367589+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:46.367589+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:46.377327+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:46.377327+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:46.394889+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:46.394889+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:46.400686+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:46.400686+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:46.441585+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:46.441716+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:46.441585+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:56:46.441716+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:56:46.441867+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:46.441867+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:56:46.442137+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:46.442137+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:56:46.467272+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:46.467272+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:46.468055+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:46.468055+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:56:46.607923+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:46.607923+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:47.178994+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:47.178994+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:47.179894+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:47.179894+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:51.100784+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:51.100784+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:51.670789+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:51.670789+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:51.671674+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:51.671674+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:51.970195+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:51.970195+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.028203+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.028203+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.028345+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.028345+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.263698+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.263698+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.322488+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.322488+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.328950+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.328950+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.362020+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.362020+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.376085+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.376085+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.376147+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.376147+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.591747+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.591747+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.848234+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:52.848234+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:52.857867+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.857867+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:52.858534+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.858534+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:52.996397+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:52.996397+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.019865+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.019887+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.019865+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.019887+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.044075+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.044075+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.163777+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.163777+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.163793+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.163793+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.165282+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.165282+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.171510+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.171510+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.171545+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.171545+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.173377+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.173377+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.175369+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.175369+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.175431+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.175431+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.214973+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.214973+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.258832+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.258832+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.258846+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.258846+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.278728+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.278728+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.303492+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.303492+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.303673+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.303673+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.469480+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:53.469480+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:53.504188+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.504188+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.537132+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.537132+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.537461+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.537461+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.647631+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:53.647631+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:53.696624+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.696624+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.730423+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.730423+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.730771+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.730771+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.947474+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.947474+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.994719+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.994719+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:53.997761+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.997761+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:53.998318+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:53.998318+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.281850+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.281850+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.325975+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:54.325975+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:54.326180+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.326180+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.504472+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:54.504472+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:54.562371+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.562371+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.609833+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:54.609833+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:54.610044+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.610044+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.663290+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.663290+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.683645+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:54.683659+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.683645+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:54.683659+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:54.895662+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:54.895662+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.143871+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:55.143871+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:55.381824+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.382199+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.381824+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.382199+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.418977+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.418977+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.422477+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.422477+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.422533+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.422533+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.429524+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.429524+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.431895+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.431895+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.432073+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.432073+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.435908+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.435908+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.438946+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.438946+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.438988+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.438988+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.440469+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.440469+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.442019+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.442019+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.442069+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.442069+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.610907+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.610907+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.661310+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.661310+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.661540+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.661540+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.711101+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.711101+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:55.740663+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.740663+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:55.741718+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.741718+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:55.780389+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:55.780389+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:55.907942+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:55.907942+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:56.048078+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:56.048078+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:56.095987+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:56.095987+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:56.097951+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:56.097951+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:56.097968+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:56.097968+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:56.475641+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:56.475641+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:56.599026+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:56.599026+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:56.619256+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:56.619256+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:56.694560+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:56.694560+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:56.748101+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:56.748101+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:56.748159+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:56.748159+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.125654+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.125654+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.193972+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.193972+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.193993+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.193993+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.257757+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.257757+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.259438+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.259438+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.259455+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.259455+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.261193+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.261193+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.291347+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.291368+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.291347+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.291368+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.293797+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.295725+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.295742+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.293797+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.295725+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.297686+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.295742+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.297686+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.302453+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.302453+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.302472+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.302472+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.305469+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.305469+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.307168+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.307209+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.307168+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.307209+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.436604+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.436604+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.462562+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.462562+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.462836+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.462836+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.613993+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.613993+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.638324+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.638324+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.638688+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.638688+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.767679+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.767679+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:57.793746+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.793746+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:57.793963+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:57.793963+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:58.318793+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:58.318793+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:58.321305+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:58.321305+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:58.583591+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:58.583591+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:58.639240+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:58.639240+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:58.650625+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:58.650625+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXValueChanged in handleFocusElementChange debug 10:56:58.650930+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:58.650930+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Trigger suggestion fetch in handleFocusElementChange debug 10:56:58.657062+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:58.657062+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Receive notification: AXSelectedTextChanged in handleFocusElementChange debug 10:56:59.133222+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:59.133222+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification AXSelectedTextChanged from source editor. debug 10:56:59.134251+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:56:59.134251+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:57:03.595655+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:57:03.595655+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:57:03.733706+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:57:03.733706+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:57:03.791501+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:57:03.791501+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:57:03.793863+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:57:03.793863+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:57:03.812686+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:57:03.812686+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:57:03.815608+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:57:03.815608+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:57:04.769231+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:57:04.769231+0000 CopilotForXcodeExtensionService Debugging Widget: Receive notification: AXFocusedUIElementChanged from Xcode debug 10:57:04.859260+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:57:04.859260+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Detect change of focused element: Source Editor debug 10:57:04.894279+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:57:04.894279+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Start observing source editor debug 10:57:04.896620+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:57:04.896620+0000 CopilotForXcodeExtensionService Debugging RealtimeSuggestionController: Did start observing notifications from editor debug 10:57:04.905338+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:57:04.905338+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:57:04.909753+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode debug 10:57:04.909753+0000 CopilotForXcodeExtensionService Debugging Widget: Start observing source editor change of Xcode info 10:57:22.903970+0000 CopilotForXcodeExtensionService Service TabToAcceptSuggestion: Deactivate. info 10:57:22.903970+0000 CopilotForXcodeExtensionService Service TabToAcceptSuggestion: Deactivate. debug 10:57:22.913852+0000 CopilotForXcodeExtensionService Debugging Widget: Switch active app to Other apps. debug 10:57:22.913852+0000 CopilotForXcodeExtensionService Debugging Widget: Switch active app to Other apps. debug 10:57:22.941016+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) debug 10:57:22.941016+0000 CopilotForXcodeExtensionService Debugging Widget: Generate widget location (focusing on source editor) ```

@intitni
Copy link
Owner

intitni commented Jan 18, 2024

I have no idea... The logs don't make any sense..I feel like the system is sending out random AXNotifications.

Sorry for asking this, but have you tried rebooting the Mac?

@nrbrook
Copy link
Author

nrbrook commented Jan 19, 2024

I have rebooted, but the issue has still occurred.
I wondered if it could be due to other Apps which track window usage, for example Bartender and Timing tracker. Quitting those didn't help though.
What about logging what the service thinks is active? Maybe Xcode is reporting the wrong thing is active... (I'm not familiar with how the API works, just throwing ideas out)

@intitni
Copy link
Owner

intitni commented Jan 19, 2024

I think the real problem should be that the app can't find the source editor of Xcode.

Could you please, when it stops working again,

  • check that if the widget can follow the Xcode window when you move the window around, so we can confirm that the Accessibility API is still working.
  • open Accessibility Inspector.app, enable point and inspect mode by clicking the crosshair button, then select the editor in Xcode, and screenshot the element information (Basic, Advanced and Hierarchy).

I will see what else I can log when I get up in the morning.

Screenshot 2024-01-20 at 01 36 20 Screenshot 2024-01-20 at 01 35 50

@intitni
Copy link
Owner

intitni commented Jan 22, 2024

0.30.0 is released. I have done some tiny refactoring on the XcodeInspector and hopefully, it can be more robust. I have also added "Active Window", "Active Source Editor" and "Focused Element" to the Xcode Inspector Debug menu.

If the issue happens again, please let me know the values. And see if the button "Restart Xcode Inspector" in the menu can help.

@nrbrook
Copy link
Author

nrbrook commented Jan 22, 2024

Screenshot 2024-01-22 at 10 35 44 Pressing "Restart Xcode Inspector" fixes it. But that could just be due to focus change?

@intitni
Copy link
Owner

intitni commented Jan 22, 2024

But that could just be due to focus change?

Clicking the menu item doesn't make Xcode inactive, so probably no.

From the screenshot, we can see that the Active Source Editor element looks corrupted, it may be that we lost access to the accessibility item for some reason. I don't know if there can be a fix.

One workaround I added to this build below, is that if you turn on "Re-activate Xcode Inspector when Accessibility API malfunctioning detected" in advanced settings (restart Xcode Inspector after that), the app will occasionally check if the source editor is still accessible. If not, it will restart the Xcode inspector, which seems to be fixing the issue.

You will see some toast warning messages when it happens. It will also log the value of the focused element and source editor to the Console.app under the category "Service".

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.20240122.zip

But before you try this workaround, I would suggest to also try

  • remove the Accessibility API permission to the app.
  • remove the app and reinstall.

Other places are also listening to AXNotifications, I am not sure if they need to be restarted, too. Please let me know if the app can work as normal after you see the warnings.

@nrbrook
Copy link
Author

nrbrook commented Jan 23, 2024

I tried removing permission, reinstalling and granting. It didn't help.

I tried the new checkbox, but it still happens, here is a screenshot when it has happened:

Screenshot 2024-01-23 at 13 49 51

Manually clicking restart inspector fixes it.

@intitni
Copy link
Owner

intitni commented Jan 23, 2024

The app checks the source editor description every 10s, if it's invalid (becomes unknown), you should see a warning popup from the widget. Did you see the warning?

@nrbrook
Copy link
Author

nrbrook commented Jan 23, 2024

No, sorry. Note that the "Active source editor" previously said "Error" and now says "Unknown" I don't know if that is relevant

@intitni
Copy link
Owner

intitni commented Jan 23, 2024

Because I changed it to unknown if it's empty. Previously it shows error whenever it's not "Source Editor".

@intitni
Copy link
Owner

intitni commented Jan 23, 2024

Please also show me the logs from the console.app. It will also fire every 10s. Restart the extension if you don't see the logs starting with "Check for Accessibility Malfunctioning:"

@nrbrook
Copy link
Author

nrbrook commented Jan 23, 2024

I have seen the warnings now and it did continue working after, and the cause was navigating back and forth with gestures on magic mouse. It doesn't happen every time, but if I navigate back/forward a few times it often happens.
aftermalfunction.txt

However, it still didn't detect it previously, so I will continue to try to reproduce that scenario.

@nrbrook
Copy link
Author

nrbrook commented Jan 23, 2024

Ok it just happened again without it detecting it:
duringMalfunctionNotDetected.txt

@nrbrook
Copy link
Author

nrbrook commented Jan 23, 2024

Screenshot. I wasn't focussed on search but the search bar was visible in the right split editor, the focus was in the left hand source editor. Clicking again in the editor didn't fix it. I also commonly see the widget in the wrong editor when using split editor, and it doesn't work in the focussed editor.
Screenshot 2024-01-23 at 14 20 48

@intitni
Copy link
Owner

intitni commented Jan 23, 2024

Let try one more time..

I added 2 more checks for accessibility API malfunction:

  • Every 10s, we check if the cached focused element and the realtime focused element are the same.
  • If accessibility API permission is changed, we check if the app still has it.

The in-app warning will show you which of them triggers the reset.

Added logs:

  • The every 10s log now includes the realtime information of the focused element and the first source editor found.
  • Logs of the ax notification that trigger update of the widget location.

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.20240123.2.zip

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

Oh sorry there is a typo in the code..

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

Ok thanks. just checking I was right. It also logs this several times a second...

debug	09:03:11.404270+0000	CopilotForXcodeExtensionService	User Defaults	found no value for key cursorIsCustomized in CFPrefsSearchListSource<0x600003da97a0> (Domain: com.apple.universalaccess, Container: (null))

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

Please try again

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.20240124.zip

Ok thanks. just checking I was right. It also logs this several times a second...

debug	09:03:11.404270+0000	CopilotForXcodeExtensionService	User Defaults	found no value for key cursorIsCustomized in CFPrefsSearchListSource<0x600003da97a0> (Domain: com.apple.universalaccess, Container: (null))

This is a normal behavior when the value of the key is nil in User Defaults.

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

I think it is working better, but the service keeps crashing (i.e. menu bar icon and widget disappears)

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

It may be some data races.

Which of the malfunction checks did you see in the warnings?

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

Actually it keeps terminating now when I switch back to Xcode.
termination.log

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

Please send me the crash log, you can find them in Console.app, too.

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

How do I find it? The above log was capture filtering on process: copilot

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

It should be on the side bar, something like “crash report”

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

For the above log, there is no crash. I press reload launch agent in the app, and it terminates immediately.

However, there was a crash earlier, attached.
CopilotForXcodeExtensionService-2024-01-24-113905.ips.zip

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

Restarted Xcode and now it keeps running.

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

I removed the realtime active source editor from the logs. The UI tree was too deep and caused stack overflow.

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.20240124.2.zip

@nrbrook
Copy link
Author

nrbrook commented Jan 24, 2024

It did just crash again, when I unlocked my mac:
CopilotForXcodeExtensionService-2024-01-24-125309.ips.zip

@intitni
Copy link
Owner

intitni commented Jan 24, 2024

@intitni
Copy link
Owner

intitni commented Jan 25, 2024

I have found a way to consistently reproduce this bug.

  1. Command+F in the editor to open the text finder
  2. switch to another app and switch back

---- Update

I don't know if it's. The issue is not recoverable, it happens when I run the app in Xcode without doing the above steps again.

@intitni
Copy link
Owner

intitni commented Jan 25, 2024

I don't know what the cause is, but it looks like the way I observe AXNotifications every where may result in conflicts.

@intitni
Copy link
Owner

intitni commented Jan 25, 2024

I think I have just fixed it, or at least greatly reduced the probability of it happening.

It was the duplicated observations of the AXNotifications that somehow broke something in Xcode or the system. Hopefully we don't need the workarounds anymore.

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.20240125.zip

@nrbrook
Copy link
Author

nrbrook commented Jan 26, 2024

Yes it does seem much better, however it still happened again. I didn't have console open though.
Screenshot 2024-01-26 at 13 15 56

@intitni
Copy link
Owner

intitni commented Jan 26, 2024

Do you think the workarounds from the previous versions were actually helping? I tried to restart Xcode Inspector when I encountered this issue, it appeared to work, but after switching to another app and switching back, the issue happened again.

I also found that the app can be affected by another app that is also listening to notifications from Xcode. Restarting Xcode seemed to fix everything and I can't reproduce it anymore.

@nrbrook
Copy link
Author

nrbrook commented Jan 26, 2024

I think they were, yes. I saw the toasts and it seemed to be fixing itself and working more consistently

@intitni
Copy link
Owner

intitni commented Jan 26, 2024

Did you ever see "Accessibility API Permission Check" from the toast? I don't think this one is needed because Accessibility seems to work when this bug happens.

@nrbrook
Copy link
Author

nrbrook commented Jan 26, 2024

No I don't think I've seen that one

@intitni
Copy link
Owner

intitni commented Jan 26, 2024

Sorry for the wait.

I have brought the workarounds back and added a new toggle to only use events instead of timers to trigger the malfunction detection. The toggle is on by default.

But I am not sure if the event will call when this bug happens, so please see if it works. The timing of this event is very similar to the focused UI element change event, it should be a better choice than a timer.

https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.debug.20240127.zip

@nrbrook
Copy link
Author

nrbrook commented Jan 27, 2024

This was what happened after installing and opening Xcode... I saw the toast twice. After clicking around a bit the widget went into the editor. I will keep using it and see how it goes

Screenshot 2024-01-27 at 10 30 36 Screenshot 2024-01-27 at 10 30 23

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Feb 27, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants