Commit 1066341
committed
src: initialize inspector before RunBootstrapping()
This is necessary for `--inspect-brk-node` to work, and for the
inspector to be aware of scripts created before bootstrapping.
Fixes: #32648
Refs: #30467 (comment)
Backport-PR-URL: #35241
PR-URL: #32672
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent bd71cdf commit 1066341Copy full SHA for 1066341
File tree
Expand file treeCollapse file tree
6 files changed
+85
-49
lines changedOpen diff view settings
Filter options
- src
- api
- test
- cctest
- parallel
Expand file treeCollapse file tree
6 files changed
+85
-49
lines changedOpen diff view settings
Collapse file
+28-28Lines changed: 28 additions & 28 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
317 | 317 | |
318 | 318 | |
319 | 319 | |
| 320 | + |
| 321 | + |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
| 331 | + |
| 332 | + |
320 | 333 | |
321 | 334 | |
322 | 335 | |
| ||
335 | 348 | |
336 | 349 | |
337 | 350 | |
338 | | - |
| 351 | + |
| 352 | + |
339 | 353 | |
340 | 354 | |
341 | 355 | |
| ||
352 | 366 | |
353 | 367 | |
354 | 368 | |
| 369 | + |
| 370 | + |
| 371 | + |
| 372 | + |
| 373 | + |
| 374 | + |
| 375 | + |
| 376 | + |
| 377 | + |
| 378 | + |
355 | 379 | |
356 | 380 | |
357 | 381 | |
| ||
381 | 405 | |
382 | 406 | |
383 | 407 | |
384 | | - |
385 | | - |
386 | | - |
387 | | - |
388 | | - |
389 | | - |
390 | | - |
391 | | - |
392 | | - |
393 | | - |
394 | | - |
395 | | - |
396 | | - |
397 | 408 | |
398 | 409 | |
399 | 410 | |
| ||
417 | 428 | |
418 | 429 | |
419 | 430 | |
420 | | - |
| 431 | + |
421 | 432 | |
422 | 433 | |
423 | 434 | |
424 | | - |
425 | | - |
426 | | - |
427 | | - |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | 435 | |
435 | 436 | |
436 | 437 | |
437 | 438 | |
438 | 439 | |
439 | 440 | |
440 | | - |
| 441 | + |
441 | 442 | |
442 | 443 | |
443 | 444 | |
| ||
462 | 463 | |
463 | 464 | |
464 | 465 | |
465 | | - |
466 | | - |
| 466 | + |
467 | 467 | |
468 | 468 | |
469 | 469 | |
|
Collapse file
+11-7Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
400 | 400 | |
401 | 401 | |
402 | 402 | |
| 403 | + |
| 404 | + |
| 405 | + |
| 406 | + |
403 | 407 | |
404 | 408 | |
405 | 409 | |
| ||
416 | 420 | |
417 | 421 | |
418 | 422 | |
419 | | - |
| 423 | + |
| 424 | + |
420 | 425 | |
421 | | - |
422 | | - |
423 | | - |
424 | 426 | |
425 | 427 | |
426 | 428 | |
427 | 429 | |
428 | | - |
| 430 | + |
429 | 431 | |
430 | 432 | |
431 | 433 | |
| ||
443 | 445 | |
444 | 446 | |
445 | 447 | |
| 448 | + |
| 449 | + |
446 | 450 | |
447 | 451 | |
448 | 452 | |
449 | | - |
| 453 | + |
450 | 454 | |
451 | 455 | |
452 | 456 | |
453 | | - |
| 457 | + |
454 | 458 | |
455 | 459 | |
456 | 460 | |
|
Collapse file
+3-6Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
317 | 317 | |
318 | 318 | |
319 | 319 | |
320 | | - |
| 320 | + |
| 321 | + |
321 | 322 | |
322 | 323 | |
323 | 324 | |
| ||
335 | 336 | |
336 | 337 | |
337 | 338 | |
338 | | - |
339 | | - |
340 | | - |
341 | | - |
| 339 | + |
342 | 340 | |
343 | | - |
344 | 341 | |
345 | 342 | |
346 | 343 | |
|
Collapse file
test/cctest/node_test_fixture.h
Copy file name to clipboardExpand all lines: test/cctest/node_test_fixture.h+9-3Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
125 | 125 | |
126 | 126 | |
127 | 127 | |
128 | | - |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
129 | 132 | |
130 | 133 | |
131 | 134 | |
| ||
135 | 138 | |
136 | 139 | |
137 | 140 | |
| 141 | + |
| 142 | + |
138 | 143 | |
139 | 144 | |
140 | | - |
141 | | - |
| 145 | + |
| 146 | + |
| 147 | + |
142 | 148 | |
143 | 149 | |
144 | 150 | |
|
Collapse file
test/cctest/test_environment.cc
Copy file name to clipboardExpand all lines: test/cctest/test_environment.cc+6-5Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
168 | 168 | |
169 | 169 | |
170 | 170 | |
| 171 | + |
171 | 172 | |
172 | | - |
| 173 | + |
173 | 174 | |
174 | 175 | |
175 | 176 | |
| ||
334 | 335 | |
335 | 336 | |
336 | 337 | |
337 | | - |
| 338 | + |
338 | 339 | |
339 | 340 | |
340 | 341 | |
| ||
401 | 402 | |
402 | 403 | |
403 | 404 | |
404 | | - |
| 405 | + |
| 406 | + |
405 | 407 | |
406 | 408 | |
407 | 409 | |
408 | 410 | |
409 | 411 | |
410 | | - |
411 | | - |
| 412 | + |
412 | 413 | |
413 | 414 | |
414 | 415 | |
|
Collapse file
test/parallel/test-inspector-inspect-brk-node.js
Copy file name to clipboard+28Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 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 | + |
0 commit comments