MapsterMapper / ExpressionDebugger

Step into debugging and generate readable script from linq expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icon

ExpressionTranslator

Translate from linq expressions to C# code

Get it

PM> Install-Package ExpressionTranslator

Get readable script

You can compile expression into readable script by ToScript extension method

var script = lambda.ToScript();

ExpressionDebugger

Step into debugging and generate readable script from linq expressions

Get it

PM> Install-Package ExpressionDebugger

Compile with debug info

CompileWithDebugInfo extension method will allow step-into debugging.

var func = lambda.CompileWithDebugInfo();
func(); //<-- you can step-into this function!!

Version 2.0 .NET Core support!

  • Version 2.0 now support .NET Core

Visual Studio for Mac

To step-into debugging, you might need to emit file

var opt = new ExpressionCompilationOptions { EmitFile = true };
var func = lambda.CompileWithDebugInfo(opt);
func(); //<-- you can step-into this function!!

About

Step into debugging and generate readable script from linq expressions

License:MIT License


Languages

Language:C# 99.6%Language:Batchfile 0.4%