Skip to content

Commit 8bc747b

Browse files
committed
2 parents 7d60900 + 2d7a60a commit 8bc747b

File tree

2 files changed

+41
-7
lines changed

2 files changed

+41
-7
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 chaowlert
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
![Icon](https://cloud.githubusercontent.com/assets/5763993/26522656/41e28a6e-432f-11e7-9cae-7856f927d1a1.png)
22

3-
# ExpressionDebugger
4-
Step into debugging and generate readable script from linq expressions
3+
# ExpressionTranslator
4+
Translate from linq expressions to C# code
55

66
### Get it
77
```
8-
PM> Install-Package ExpressionDebugger
8+
PM> Install-Package ExpressionTranslator
99
```
1010

1111
### Get readable script
@@ -14,15 +14,28 @@ You can compile expression into readable script by `ToScript` extension method
1414
var script = lambda.ToScript();
1515
```
1616

17+
# ExpressionDebugger
18+
Step into debugging and generate readable script from linq expressions
19+
20+
### Get it
21+
```
22+
PM> Install-Package ExpressionDebugger
23+
```
24+
1725
### Compile with debug info
1826
`CompileWithDebugInfo` extension method will allow step-into debugging.
1927
```CSharp
2028
var func = lambda.CompileWithDebugInfo();
2129
func(); //<-- you can step-into this function!!
2230
```
2331

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)
32+
### Version 2.0 .NET Core support!
33+
- Version 2.0 now support .NET Core
2634

27-
#### Net Core support
28-
Currently, step-into debugging is working only in .NET 4.x. .NET Core doesn't support this feature yet.
35+
### Visual Studio for Mac
36+
To step-into debugging, you might need to emit file
37+
```CSharp
38+
var opt = new ExpressionCompilationOptions { EmitFile = true };
39+
var func = lambda.CompileWithDebugInfo(opt);
40+
func(); //<-- you can step-into this function!!
41+
```

0 commit comments

Comments
 (0)