Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@radical
Copy link
Member

@radical radical commented Apr 14, 2020

… (#19505)

  • [wasm][debugger] Show signature for delegate, or target, if available
  • As object properties, we return a Target which has the signature of
    the delegate target.

Fixes #19382

  • [wasm][debugger] Some tidying up

  • [wasm][debugger] Remove unused sig_desc

  • [wasm][debugger] Simplify code, avoid extra allocations

.. as suggested by @lewing

(cherry picked from commit 4eca12e)

@radical
Copy link
Member Author

radical commented Apr 14, 2020

The original PR (#19505) was based on mono:aj-wasm-dbg-improve-vt-descr, because of a PR that it depended on. This PR is to merge that to master.

@lewing
Copy link
Member

lewing commented Apr 14, 2020

@monojenkins backport 3.2-wasm

@radical
Copy link
Member Author

radical commented Apr 14, 2020

One test failure caused by unused variables having values now. Fixing.

@lewing
Copy link
Member

lewing commented Apr 14, 2020

@monojenkins build failed

@lewing
Copy link
Member

lewing commented Apr 14, 2020

@monojenkins build Linux ARMv7

@radical radical force-pushed the merge-delegate-master branch from 5ad0474 to 4194f1b Compare April 15, 2020 19:38
@radical
Copy link
Member Author

radical commented Apr 15, 2020

Rebased to get the lang fixes.

radical added 3 commits April 15, 2020 17:25
…mono#19505)

* [wasm][debugger] Show signature for delegate, or target, if available

- As object properties, we return a `Target` which has the signature of
the delegate target.

Fixes mono#19382

* [wasm][debugger] Some tidying up

* [wasm][debugger] Remove unused `sig_desc`

* [wasm][debugger] Simplify code, avoid extra allocations

.. as suggested by @lewing

(cherry picked from commit 4eca12e)
.. anymore, which is because we disabled optimizations in the
interpreter when debugging.
@radical radical force-pushed the merge-delegate-master branch from 4194f1b to 60896f8 Compare April 15, 2020 21:33
radical added 2 commits April 16, 2020 11:40
.. frames. This just happened to work. Currently, the trace has details
of the async machinery, instead of one reflecting what it might have
looked like for a non-async case. So, we can't reliably find the
previous method to inspect it's locals.
@lewing
Copy link
Member

lewing commented Apr 16, 2020

@monojenkins build Linux x64

@lewing
Copy link
Member

lewing commented Apr 16, 2020

@monojenkins build Linux ARMv7

@lewing lewing merged commit 354c9e6 into mono:master Apr 17, 2020
lewing pushed a commit to lewing/mono that referenced this pull request Apr 17, 2020
mono#19535)

* [wasm][debugger] Show signature for delegate, or target, if available (mono#19505)

* [wasm][debugger] Show signature for delegate, or target, if available

- As object properties, we return a `Target` which has the signature of
the delegate target.

Fixes mono#19382

* [wasm][debugger] Some tidying up

* [wasm][debugger] Remove unused `sig_desc`

* [wasm][debugger] Simplify code, avoid extra allocations

.. as suggested by @lewing

(cherry picked from commit 4eca12e)

* [wasm][debugger] Fix tests broken because unused vars are not null

.. anymore, which is because we disabled optimizations in the
interpreter when debugging.

* [wasm][debugger][tests] Add tests to also check delegates in previous

.. frames.

* [wasm][debugger] Disable a test that tried to look at previous async

.. frames. This just happened to work. Currently, the trace has details
of the async machinery, instead of one reflecting what it might have
looked like for a non-async case. So, we can't reliably find the
previous method to inspect it's locals.

* [wasm][debugger] Fix test
lewing added a commit that referenced this pull request Apr 17, 2020
#19535) (#19579)

* [wasm][debugger] Show signature for delegate, or target, if available (#19505)

* [wasm][debugger] Show signature for delegate, or target, if available

- As object properties, we return a `Target` which has the signature of
the delegate target.

Fixes #19382

* [wasm][debugger] Some tidying up

* [wasm][debugger] Remove unused `sig_desc`

* [wasm][debugger] Simplify code, avoid extra allocations

.. as suggested by @lewing

(cherry picked from commit 4eca12e)

* [wasm][debugger] Fix tests broken because unused vars are not null

.. anymore, which is because we disabled optimizations in the
interpreter when debugging.

* [wasm][debugger][tests] Add tests to also check delegates in previous

.. frames.

* [wasm][debugger] Disable a test that tried to look at previous async

.. frames. This just happened to work. Currently, the trace has details
of the async machinery, instead of one reflecting what it might have
looked like for a non-async case. So, we can't reliably find the
previous method to inspect it's locals.

* [wasm][debugger] Fix test

Co-authored-by: Ankit Jain <[email protected]>
@radical radical deleted the merge-delegate-master branch May 8, 2020 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Debugging] Delegates show only type name in the Locals window

2 participants