Skip to content

Commit

Permalink
Trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gołębiowski committed Feb 7, 2025
1 parent 569f804 commit 23e000b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Cody.VisualStudio/Services/DocumentsSyncService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ public void Initialize()
if (activeCookie != 0)
{
var path = rdt.GetDocumentInfo(activeCookie).Moniker;
if (path != null) documentActions.OnFocus(path);
if (path != null)
{
trace.TraceEvent("OnInitFocus");
documentActions.OnFocus(path);
}
}
}
finally
Expand Down

0 comments on commit 23e000b

Please sign in to comment.