nushell/crates/nu-command/src/debug
Gaëtan 0588a4fc19
Make debug info lazy (#10728)
<!--
if this PR closes one or more issues, you can automatically link the PR
with
them by using one of the [*linking
keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword),
e.g.
- this PR should close #xxxx
- fixes #xxxx

you can also mention related issues, PRs or discussions!
-->

# Description
<!--
Thank you for improving Nushell. Please, check our [contributing
guide](../CONTRIBUTING.md) and talk to the core team before making major
changes.

Description of your pull request goes here. **Provide examples and/or
screenshots** if your changes affect the user experience.
-->

* Makes the `debug info` lazy which greatly improves performance.
* Adds a `thread id` attribute

![Screenshot 2023-10-15
211940](https://github.com/nushell/nushell/assets/25441359/b8457a30-ebf7-4731-9e13-17635501f029)

![image](https://github.com/nushell/nushell/assets/25441359/010ed35b-9f50-4fc6-8650-b68b29d5a9cd)


# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

`threadid` column added.

---------

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2023-10-24 12:48:05 -05:00
..
ast.rs Use long options for debug (#10621) 2023-10-06 18:54:15 +02:00
debug_.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
explain.rs fix clippy (#10659) 2023-10-10 03:31:15 +13:00
info.rs Make debug info lazy (#10728) 2023-10-24 12:48:05 -05:00
inspect_table.rs Use slices directly instead of &Vec (#10328) 2023-09-12 11:38:20 +08:00
inspect.rs throw an error instead of a panic if no input is provided to inspect (#9259) 2023-05-22 13:54:04 -05:00
metadata.rs Finish removing profile command and related data (#10807) 2023-10-22 14:06:53 +03:00
mod.rs Finish removing profile command and related data (#10807) 2023-10-22 14:06:53 +03:00
timeit.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
view_files.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
view_source.rs Add --env and --wrapped flags to def (#10566) 2023-10-02 21:13:31 +03:00
view_span.rs Use long options for debug (#10621) 2023-10-06 18:54:15 +02:00
view.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00