Skip to content

Commit e841aa9

Browse files
The extension should use MD fromat as well to lower the amount of complex serialize and deserialize the data
1 parent 3ba283b commit e841aa9

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

nexus_engine/nexus_engine_extensions/ExtensionScripts/basic_crash_analysis/basic_crash_analysis.ps1

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,38 +60,38 @@ try {
6060
$md = @"
6161
## Basic Crash Analysis
6262
63-
**Workflow:** `basic_crash_analysis`
63+
**Workflow:** ``basic_crash_analysis``
6464
**Executed:** $now
6565
6666
### !analyze -v
6767
68-
```
68+
``````
6969
$($results["analyze"])
70-
```
70+
``````
7171
7272
### !threads
7373
74-
```
74+
``````
7575
$($results["threads"])
76-
```
76+
``````
7777
7878
### ~*k
7979
80-
```
80+
``````
8181
$($results["allStacks"])
82-
```
82+
``````
8383
8484
### !locks
8585
86-
```
86+
``````
8787
$($results["locks"])
88-
```
88+
``````
8989
9090
### !runaway
9191
92-
```
92+
``````
9393
$($results["runaway"])
94-
```
94+
``````
9595
9696
"@
9797

nexus_engine/nexus_engine_extensions/ExtensionScripts/stack_with_sources/stack_with_sources.ps1

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ try {
8282
## Stack With Sources
8383
8484
**Success:** False
85-
**Thread ID:** `$ThreadId`
86-
**Message:** Thread '$ThreadId' not found. The thread ID may be invalid or may not exist in this dump.
87-
**Suggestion:** Use `!threads` or `~` to list available threads, then retry with a valid thread ID.
85+
**Thread ID:** ``$ThreadId``
86+
**Message:** Thread ``$ThreadId`` not found. The thread ID may be invalid or may not exist in this dump.
87+
**Suggestion:** Use ``!threads`` or ``~`` to list available threads, then retry with a valid thread ID.
8888
8989
### Stack Trace
9090
91-
```
91+
``````
9292
$stackOutput
93-
```
93+
``````
9494
"@
9595
Write-Output $md
9696
exit 0
@@ -124,14 +124,14 @@ $stackOutput
124124
## Stack With Sources
125125
126126
**Success:** False
127-
**Thread ID:** `$ThreadId`
127+
**Thread ID:** ``$ThreadId``
128128
**Message:** No valid return addresses found in stack trace
129129
130130
### Stack Trace
131131
132-
```
132+
``````
133133
$stackOutput
134-
```
134+
``````
135135
"@
136136
Write-Output $md
137137
exit 0
@@ -174,7 +174,7 @@ $stackOutput
174174
## Stack With Sources
175175
176176
**Success:** True
177-
**Thread ID:** `$ThreadId`
177+
**Thread ID:** ``$ThreadId``
178178
**Total Frames:** $($addresses.Count)
179179
**Frames With Symbols:** 0
180180
**Sources Downloaded:** 0
@@ -183,15 +183,15 @@ $stackOutput
183183
184184
### Stack Trace
185185
186-
```
186+
``````
187187
$stackOutput
188-
```
188+
``````
189189
190190
### Addresses (All)
191191
192-
```
192+
``````
193193
$addrList
194-
```
194+
``````
195195
"@
196196
Write-Output $md
197197
exit 0
@@ -268,7 +268,7 @@ $addrList
268268
## Stack With Sources
269269
270270
**Success:** True
271-
**Thread ID:** `$ThreadId`
271+
**Thread ID:** ``$ThreadId``
272272
**Executed:** $now
273273
**Total Frames:** $($addresses.Count)
274274
**Frames With Symbols:** $($addressesWithSymbols.Count)
@@ -278,33 +278,33 @@ $addrList
278278
279279
### Stack Trace
280280
281-
```
281+
``````
282282
$stackOutput
283-
```
283+
``````
284284
285285
### Addresses With Symbols
286286
287-
```
287+
``````
288288
$addrWithSymbols
289-
```
289+
``````
290290
291291
### Failed Addresses
292292
293-
```
293+
``````
294294
$failedList
295-
```
295+
``````
296296
297297
### All Addresses
298298
299-
```
299+
``````
300300
$addrAll
301-
```
301+
``````
302302
303303
### Source Verification Outputs
304304
305-
```
305+
``````
306306
$($sourceOutputsText.ToString())
307-
```
307+
``````
308308
"@
309309

310310
Write-Output $md

0 commit comments

Comments
 (0)