I’d like to add a lambda support in Immediate Pad. There are roughly 2 tasks:

 Task1. Compile lambda expression locally using Roslyn API along with the current context of debuggee  Task2. Add a new wire protocol command type for bytecode for the lambda expression. The debugger agent registers the bytecode in Mono Runtime and sends back its handle to the debugger.

We have to compile the body of a lambda expression and resolve some difficulties such as variable references and substitutions in the body. Then, compiled bytecode should be sent to the debugger agent with the protocol for lambda. A challenging thing of this project would be injecting new bytecode which either refer or change variables in the debuggee’s context.

Organization

Student

Haruka Matsumoto

Mentors

  • Mikayla Hutchinson
  • David Karlaš
close

2017