-
Notifications
You must be signed in to change notification settings - Fork 2
/
WintellectVSCmdlets.psm1
778 lines (693 loc) · 31.1 KB
/
WintellectVSCmdlets.psm1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
#requires -version 2.0
###############################################################################
# Wintellect NuGet Cmdlets Module
#
# The macro replacements for Dev 11
#
# Copyright (c) 2002 - 2012 - John Robbins/Wintellect
#
# Do whatever you want with this module, but please do give credit.
###############################################################################
# Always make sure all variables are defined and all best practices are
# followed.
Set-StrictMode -version Latest
###############################################################################
function Get-AppPools
{
<#
.SYNOPSIS
Returns the names of all IIS application pools.
#>
cd C:\windows\system32\inetsrv
.\appcmd list apppool | foreach { $_ | Select-String -pattern '".*"' } | foreach { $_.Matches.Value } | Sort-Object
}
Export-ModuleMember -function Get-AppPools
###############################################################################
###############################################################################
function Get-Threads
{
<#
.SYNOPSIS
Returns the threads for the current process
.DESCRIPTION
All threads for the current process being debugged are returned. If the
debugger is not active, returns $null
#>
# Check if we are debugging. 2 == dbgDebugMode.dbgBreakMode
if ($dte.Debugger.CurrentMode -ne 2)
{
Write-Warning "Get-Threads only works when debugging."
return $null
}
$dte.Debugger.CurrentProgram.Threads
}
Export-ModuleMember -function Get-Threads
###############################################################################
###############################################################################
function Debug-IISProcess
{
<#
.SYNOPSIS
Attaches Visual Studio to the w3wp.exe process associated with a given application pool name.
#>
param (
[Parameter(Position = 0, Mandatory = $true, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
[String]$AppPoolName
)
$process = Get-WmiObject -Namespace "root/cimv2" -Query "SELECT * FROM Win32_Process where Name = 'w3wp.exe'" | Where-Object { $_.CommandLine -match "-ap `"$AppPoolName`"" }
if ($process -eq $null) {
Write-Host "Could not find w3wp.exe process associated with app pool '$AppPoolName'."
} else {
Write-Host "Attaching to w3wp.exe process associated with app pool '$AppPoolName'."
foreach ($proc in $dte.Debugger.LocalProcesses) {
if ($proc.ProcessID -eq $process.ProcessId){
$proc.Attach()
break
}
}
}
}
Export-ModuleMember -function Debug-IISProcess
###############################################################################
###############################################################################
function Get-Breakpoints
{
<#
.SYNOPSIS
Returns all breakpoints
.DESCRIPTION
The default $dte.Debugger.Breakpoints returns the older version of the
breakpoint interface. This cmdlet promotes all breakpoints to the the
most recent interface to allow access to properties such as FilterBy.
#>
# The magic here is in the wonderful NuGet Get-Interface cmdlet.
# There's no way this integration would work without it because
# of issues with PowerShell.
$dte.Debugger.BreakPoints | `
ForEach-Object { Get-Interface $_ ([ENVDTE80.Breakpoint2]) }
}
Export-ModuleMember -function Get-Breakpoints
###############################################################################
###############################################################################
function Disable-NonActiveThreads
{
<#
.SYNOPSIS
Freezes all threads except the active thread.
.DESCRIPTION
When multithreaded debugging it's common to be single stepping and bounce to
another thread. The Disable-NonActiveThreads, and it's counterpart,
Resume-NonActiveThreads, make multithreaded debugging easier by freezing and
thawing all other threads, except for the active thread. This way you can
finish single stepping through a method and avoid the bounce.
.LINK
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/07/17/automatically-freezing-threads-brrrrr.aspx
#>
# Check if we are debugging. 2 == dbgDebugMode.dbgBreakMode
if ($dte.Debugger.CurrentMode -ne 2)
{
Write-Warning "Disable-NonActiveThreads only works when debugging."
return
}
$currThread = $dte.Debugger.CurrentThread.Id
Get-Threads | Where-Object { $_.ID -ne $currThread } | `
ForEach-Object { $_.Freeze() }
}
Export-ModuleMember -function Disable-NonActiveThreads
###############################################################################
###############################################################################
function Resume-NonActiveThreads
{
<#
.SYNOPSIS
Freezes all threads except the active thread.
.DESCRIPTION
When multithreaded debugging it's common to be single stepping and bounce to
another thread. The Resume-NonActiveThreads, and it's counterpart,
Disable-NonActiveThreads, make multithreaded debugging easier by freezing and
thawing all other threads, except for the active thread. This way you can
finish single stepping through a method and avoid the bounce.
.LINK
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/07/17/automatically-freezing-threads-brrrrr.aspx
#>
# Check if we are debugging. 2 == dbgDebugMode.dbgBreakMode
if ($dte.Debugger.CurrentMode -ne 2)
{
Write-Warning "Resume-NonActiveThreads only works when debugging."
return
}
$currThread = $dte.Debugger.CurrentThread.Id
Get-Threads | Where-Object { $_.ID -ne $currThread } | `
ForEach-Object { $_.Thaw() }
}
Export-ModuleMember -function Resume-NonActiveThreads
###############################################################################
###############################################################################
$script:k_THREADFILTER = "ThreadName == InterestingThread"
function Add-InterestingThreadFilterToBreakpoints
{
<#
.SYNOPSIS
Adds the breakpoint filter "ThreadName==InterestingThread" to all breakpoints.
.DESCRIPTION
Multithreading debugging is hard enough. Having a bunch of breakpoints set
means you are going stop no matter which thread is executing those locations.
You know which thread is the interesting thread so this cmdlet, and it's
opposite, Remove-InterestingThreadFilterFromBreakpoints, will add and remove
a filter "ThreadName==InterestingThread" to all breakpoints except those that
already have a filter. To name your thread, go into the VS Threads window,
right click on the thread, and rename it to InterestingThread.
.LINK
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/07/12/easier-multithreaded-debugging.aspx
#>
Get-Breakpoints | `
Where-Object {$_.FilterBy.Length -eq 0} | `
ForEach-Object {$_.FilterBy = $k_THREADFILTER}
}
Export-ModuleMember -function Add-InterestingThreadFilterToBreakpoints
###############################################################################
###############################################################################
function Remove-InterestingThreadFilterFromBreakpoints
{
<#
.SYNOPSIS
Removes the breakpoint filter "ThreadName==InterestingThread" to all breakpoints.
.DESCRIPTION
Multithreading debugging is hard enough. Having a bunch of breakpoints set
means you are going stop no matter which thread is executing those locations.
You know which thread is the interesting thread so this cmdlet, and it's
opposite, Add-InterestingThreadFilterFromBreakpoints, will add and remove
a filter "ThreadName==InterestingThread" to all breakpoints except those that
already have a filter. To name your thread, go into the VS Threads window,
right click on the thread, and rename it to InterestingThread.
.LINK
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/07/12/easier-multithreaded-debugging.aspx
#>
Get-Breakpoints | `
Where-Object {$_.FilterBy -eq $k_THREADFILTER} | `
ForEach-Object {$_.FilterBy = ""}
}
Export-ModuleMember -function Remove-InterestingThreadFilterFromBreakpoints
###############################################################################
$script:k_DebuggerCommands = ".loadby sos clr;.load sosex;.echo **TO DETACH USE THE qd COMMAND**"
function Invoke-WinDBG
{
<#
.SYNOPSIS
Attaches WinDBG to the current process being debugged.
.DESCRIPTION
While using Visual Studio, there are times you need to use WinDBG, such as to
look at memory with SOS or SOSEX. This cmdlet will attach WinDBG to the current
process through a non-invasive attach. Once you are finished using the excellent
informational commands in WinDBG, use QD to go back to debugging in VS.
.PARAMETER WinDBG
The default is to assume WinDBG is in the path, but if it is not, specify it
in this parameter. Also, use this parameter to specifically use the x86
version if the x64 version is in the path.
.LINK
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/12/08/use-two-debuggers-at-once.aspx
#>
param
(
[Parameter(HelpMessage="The optional full path to WINDBG.EXE")]
[string] $WinDBG = "WinDBG.EXE"
)
# Check if we are debugging. 2 == dbgDebugMode.dbgBreakMode
if ($dte.Debugger.CurrentMode -ne 2)
{
Write-Warning "Invoke-WinDBG only works when debugging or when stopped in the debugger."
return
}
# Get the current process as an IProcess2.
$proc = Get-Interface $dte.Debugger.CurrentProcess ([ENVDTE80.Process2])
# If the TrasportQualifier is not equal to the machine name, the process
# is being remote debugged so I can't put WinDBG on it.
if ($proc.TransportQualifier -ne $ENV:COMPUTERNAME)
{
Write-Warning "Invoke-WinDBG only works doing local debugging."
Write-Warning "The current process is running remotely."
return
}
$cmdLine = '-pv -p {0} -c "{1}"' -f $proc.ProcessID, $k_DebuggerCommands
Start-Process $WinDBG -ArgumentList $cmdLine
}
Export-ModuleMember -function Invoke-WinDBG
###############################################################################
###############################################################################
Function Invoke-NamedParameter
{
<#
.SYNOPSIS
Call methods with optional parameters easily in PowerShell
.DESCRIPTION
COM methods with many optional parameters are hard to call in PowerShell, this
awesome cmdlet from Jason Archer makes is very simple. See the full discussion
at the link.
.EXAMPLE
Calling a method with named parameters.
$shell = New-Object -ComObject Shell.Application
Invoke-NamedParameter $Shell "Explore" @{"vDir"="$pwd"}
## the syntax for more than one would be @{"First"="foo";"Second"="bar"}
.EXAMPLE
Calling a method that takes no parameters (you can also use -Argument with $null).
$shell = New-Object -ComObject Shell.Application
Invoke-NamedParameter $Shell "MinimizeAll" @{}
.LINK
http://stackoverflow.com/questions/5544844/how-to-call-a-complex-com-method-from-powershell
#>
[CmdletBinding(DefaultParameterSetName = "Named")]
param(
[Parameter(ParameterSetName = "Named", Position = 0, Mandatory = $true)]
[Parameter(ParameterSetName = "Positional", Position = 0, Mandatory = $true)]
[ValidateNotNull()]
[System.Object]$Object
,
[Parameter(ParameterSetName = "Named", Position = 1, Mandatory = $true)]
[Parameter(ParameterSetName = "Positional", Position = 1, Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[String]$Method
,
[Parameter(ParameterSetName = "Named", Position = 2, Mandatory = $true)]
[ValidateNotNull()]
[Hashtable]$Parameter
,
[Parameter(ParameterSetName = "Positional")]
[Object[]]$Argument
)
end { ## Just being explicit that this does not support pipelines
if ($PSCmdlet.ParameterSetName -eq "Named") {
## Invoke method with parameter names
## Note: It is ok to use a hashtable here because the keys (parameter names) and values (args)
## will be output in the same order. We don't need to worry about the order so long as
## all parameters have names
$Object.GetType().InvokeMember($Method, [System.Reflection.BindingFlags]::InvokeMethod,
$null, ## Binder
$Object, ## Target
([Object[]]($Parameter.Values)), ## Args
$null, ## Modifiers
$null, ## Culture
([String[]]($Parameter.Keys)) ## NamedParameters
)
} else {
## Invoke method without parameter names
$Object.GetType().InvokeMember($Method, [System.Reflection.BindingFlags]::InvokeMethod,
$null, ## Binder
$Object, ## Target
$Argument, ## Args
$null, ## Modifiers
$null, ## Culture
$null ## NamedParameters
)
}
}
}
Export-ModuleMember -function Invoke-NamedParameter
###############################################################################
###############################################################################
function Script:RecurseCodeElements($elems, $bpHash , $srcFile, $tagValue)
{
foreach ($currElem in $elems)
{
$currElem = Get-Interface $currElem ([EnvDTE80.CodeElement2])
# vsCMElement.vsCMElementClass = 1
# vsCMElement.vsCMElementNamespace = 5
# vsCMElement.vsCMElement = 11
if (1,5,11 -contains $currElem.Kind)
{
$subCodeElems = $null
try
{
$subCodeElems = $currElem.Children
}
catch
{
$subCodeElems = $null
}
if ($subCodeElems -ne $null)
{
RecurseCodeElements $subCodeElems $bpHash $srcFile $tagValue
}
}
# vsCMElement.vsCMElementFunction = 2
# vsCMElement.vsCMElementProperty = 4
elseif (2,4 -contains $currElem.Kind)
{
# Attributed COM component attributes show up pulled out into
# their functions. The only thing is that their StartPoint
# property is invalid and throws an exception when accessed.
$txtPoint = $null
try
{
$txtPoint = $currElem.StartPoint
}
catch
{
$txtPoint = $null
}
if ($txtPoint -ne $null)
{
# Check to see if there's a breakpoint already set as VS
# is not happy setting breakpoints on top of existing
# breakpoints.
$line = $txtPoint.Line.ToString()
if ($bpHash["$srcFile + $line"] -eq $null)
{
try
{
$bps = Invoke-NamedParameter $dte.Debugger.Breakpoints "Add" @{"File"="$srcFile";"Line"="$line"}
# Now set the tag to identify the breakpoint for clearing it.
foreach($bp in $bps)
{
$bp.Tag = $tagValue
}
}
catch
{
# If there's an error setting a BP, it's because the
# BP was attempted on a DllImport attribute item so
# ignore it.
}
}
}
}
}
}
function script:GetActiveDocument
{
$activeDoc = $dte.ActiveDocument
if ($activeDoc -eq $null)
{
Write-Warning "There's no active document window."
return $null
}
if ($activeDoc.ProjectItem.FileCodeModel -eq $null)
{
Write-Warning "There is no code model associated with the current document."
return $null
}
$activeDoc
}
function Add-BreakpointsOnAllDocMethods
{
<#
.SYNOPSIS
Sets a breakpoint on each method in the current code document.
.DESCRIPTION
While native code supports setting breakpoints on all methods in a code
document, .NET languages do not. The cmdlet takes care of that for you. The
idea is that you can use the debugger to ensure you're calling all methods
in a class when debugging/testing. Using the debugger for function coverage
is easy with this cmdlet.
#>
$activeDoc = GetActiveDocument
if ($activeDoc -eq $null)
{
return
}
$srcFile = $activeDoc.FullName
$tagValue = "Wintellect Rocks! " + $srcFile
# I'm going to have to look at the breakpoint list a lot so let's
# hash that bad boy to make it faster.
$bpHash = @{}
Get-Breakpoints | ForEach-Object { $bpHash[$_.File + $_.FileLine.ToString()] = $_.FileLine }
$fileCodeModel2 = Get-Interface $activeDoc.ProjectItem.FileCodeModel ([ENVDTE80.FileCodeModel2])
$codeElements = $fileCodeModel2.CodeElements
RecurseCodeElements $codeElements $bpHash $srcFile $tagValue
}
Export-ModuleMember -function Add-BreakpointsOnAllDocMethods
###############################################################################
###############################################################################
function Remove-BreakpointsOnAllDocMethods
{
<#
.SYNOPSIS
Removes breakpoints previously set with Add-BreakpointsOnAllMethods
#>
# Since I used the tag property on the breakpoint I can just look for
# those breakpoints and clear them.
$activeDoc = GetActiveDocument
if ($activeDoc -eq $null)
{
return
}
$srcFile = $activeDoc.FullName
$tagValue = "Wintellect Rocks! " + $srcFile
Get-Breakpoints | Where-Object { $_.Tag -eq $tagValue } | ForEach-Object { $_.Delete() }
}
Export-ModuleMember -function Remove-BreakpointsOnAllDocMethods
###############################################################################
###############################################################################
# Another Jason Archer special! :)
# http://stackoverflow.com/questions/5648931/powershell-test-if-registry-value-exists
Function Script:Test-RegistryValue {
param(
[Alias("PSPath")]
[Parameter(Position = 0, Mandatory = $true, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
[String]$Path
,
[Parameter(Position = 1, Mandatory = $true)]
[String]$Name
,
[Switch]$PassThru
)
process {
if (Test-Path $Path) {
$Key = Get-Item -LiteralPath $Path
if ($Key.GetValue($Name, $null) -ne $null) {
if ($PassThru) {
Get-ItemProperty $Path $Name
} else {
$true
}
} else {
$false
}
} else {
$false
}
}
}
function Open-LastIntelliTraceRecording
{
<#
.SYNOPSIS
Opens the last IntelliTrace log
.DESCRIPTION
IntelliTrace is great, but when you stop debugging the current debugging
session's IntelliTrace log goes poof and disappears. This is very
frustrating because the time you really want to look at an IntelliTrace
log is after you finish debugging. This cmdlet opens the last run
IntelliTrace log.
In order for this cmdlet to work, you need to go to set an option to
enable saving the files otherwise they are gone when the debugging session
ends.
Go to Tools/Options/IntelliTrace/Advanced and check
'Store IntelliTrace recordings in this directory'
Note that turning this setting on in Dev 11 Beta brings up a bug where the
storage directory is not properly cleaned up when Dev 11 ends. Keep an eye
on the directory as the IntelliTrace files get quite large.
.LINK
http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/10/19/vs-2010-beta-2-intellitrace-in-depth-first-look.aspx
#>
# Check if we are in design mode. 1 == dbgDebugMode.dbgDesign
if ($dte.Debugger.CurrentMode -ne 1)
{
Write-Warning "Open-LastIntelliTraceRecording only works when not debugging."
return $null
}
$dir = $null
$ver = $dte.Version
if ($ver -lt "14.0")
{
$regPath = "HKCU:\Software\Microsoft\VisualStudio\$ver\DialogPage\Microsoft.VisualStudio.TraceLogPackage.ToolsOptionAdvanced"
if ( !(Test-Path $regPath ) -or
( (Get-ItemProperty -Path $regPath)."SaveRecordings" -eq "False") )
{
Write-Warning "You must set IntelliTrace to save the recordings."
Write-Warning "Go to Tools/Options/IntelliTrace/Advanced and check 'Store IntelliTrace recordings in this directory'"
return
}
if ( !(Test-RegistryValue $regPath "RecordingPath") )
{
Write-Warning "The RecordingPath property does not exist or is not set."
return
}
$dir = (Get-ItemProperty -Path $regPath)."RecordingPath"
}
else
{
$regPath = "HKCU:\SOFTWARE\Microsoft\VisualStudio\$ver\ApplicationPrivateSettings\Microsoft\VisualStudio\TraceLogPackage\ToolsOptionAdvanced"
if ( !(Test-Path $regPath) -or
((Get-ItemProperty -Path $regPath)."SaveRecordings" -match "False"))
{
Write-Warning "You must set IntelliTrace to save the recordings."
Write-Warning "Go to Tools/Options/IntelliTrace/Advanced and check 'Store IntelliTrace recordings in this directory'"
return
}
if ( !(Test-RegistryValue $regPath "RecordingPath") )
{
Write-Warning "The RecordingPath property does not exist or is not set."
return
}
$dir = ((Get-ItemProperty -Path $regPath)."RecordingPath").Substring("1*System.String*".Length)
}
# Get all the filenames from the recording path.
$fileNames = Get-ChildItem -Path $dir | Sort-Object LastWriteTime -Descending
if ($fileNames -ne $null)
{
# If the user has VSHOST debugging turned on for WPF/Console/WF apps,
# current instance will be sitting there with no access set. I'll try opening
# in order until I get one to open. This accounts for multiple instances
# of VS running as they all share the same directory.
for ($i = 0 ; $i -lt $fileNames.Length; $i++)
{
$toOpen = $fileNames[$i].FullName
try
{
[void]$dte.ItemOperations.OpenFile($toOpen)
return
}
catch
{
}
}
}
else
{
Write-Warning "No IntelliTrace files are present"
}
}
Export-ModuleMember -function Open-LastIntelliTraceRecording
###############################################################################
# SIG # Begin signature block
# MIIYTQYJKoZIhvcNAQcCoIIYPjCCGDoCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUMcqXbgdO9kEFseclB0oE0VKo
# u9qgghM9MIIEhDCCA2ygAwIBAgIQQhrylAmEGR9SCkvGJCanSzANBgkqhkiG9w0B
# AQUFADBvMQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3Q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