Skip to content

Commit 524210d

Browse files
author
chaowlert
committed
Merge branch 'develop' of https://github.com/chaowlert/ExpressionDebugger into develop
2 parents 8067958 + 8503696 commit 524210d

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1+
![Icon](http://www.fancyicons.com/free-icons/112/must-have/png/128/pause_128.png)
2+
13
# ExpressionDebugger
2-
Step through debugging and generate readable script from linq expressions
4+
Step into debugging and generate readable script from linq expressions
5+
6+
### Get it
7+
```
8+
PM> Install-Package Mapster
9+
```
10+
11+
### Get readable script
12+
You can compile expression into readable script by `ToScript` extension method
13+
```CSharp
14+
var script = lambda.ToScript();
15+
```
16+
17+
### Compile with debug info
18+
`CompileWithDebugInfo` extension method will allow step-into debugging.
19+
```CSharp
20+
var func = lambda.CompileWithDebugInfo();
21+
func(); //<-- you can step-into this function!!
22+
```
23+
24+
In order to step-into debugging, make sure you turn off just my code feature.
25+
![turn off just my code](https://cloud.githubusercontent.com/assets/5763993/23740682/47608676-04d7-11e7-842d-77c18a459515.png)
26+
27+
#### Net Core support
28+
Currently, step-info debugging is working only in .NET 4.x. .NET Core doesn't support this feature yet.

0 commit comments

Comments
 (0)