Comments (7)
Well, good news. I just spent 10 minutes updating dnlib to latest nuget (previous version was from 2020) in the Stitcherboy project and put the binaries in MrAdvice locally and debugging now works 👍
I can make a PR for you in https://github.com/picrap/StitcherBoy.
from mradvice.
Confirmed, the problem is fixed
from mradvice.
Hi,
as far as I remember, this is related to PDB format. You can change it in build properties. Another PDB format may work.
Sorry for blurry answer.
Let me know!
from mradvice.
Well, the results are interesting. I've tried the DebugType options
- default/portable: Fails for the specific project
- embedded: Also fails for the specific project. Other projects load fine and indicate embedded in VS.
- full: Works :)
My guess is that MrAdvice corrupts the new portable pdb in a rare case.
If I try the tool sourcelink with command sourcelink print-urls pdb-file
, it works for other projects but fails with error "Read out of bounds." for the specific project. I'm cannot find any other tools to validate the portable-pdb-format.
from mradvice.
MrAdvice is based on dnlib (https://github.com/0xd4d/dnlib) wich does the dirty work with PDB, so unfortunately this is not something I am comfortable with.
If one day there is something similar directly in dotnet, it may be worth trying to port it.
from mradvice.
That would be great! I’ll update MrAdvice after this. Thank you.
from mradvice.
MrAdvice 2.15 is out! Let me know.
from mradvice.
Related Issues (20)
- Dotnet core DI and logging HOT 6
- Incorrect version in MrAdvice.dll HOT 11
- MrAdvice.Weaver.exe fails on Visual Studio 2017 HOT 2
- MrAdviceWeaverPath not defined in Xamarin.Android project HOT 8
- dotnet build on linux build agents
- Containerize the solution in linux with .NET Core 3.1 HOT 4
- Crash when weaving in azure linux build agent .net 6 HOT 4
- StackTraceHiddenAttribute
- Support for .NET 7 HOT 1
- NullReferenceException on build
- No compatible code running on the thread HOT 2
- .NET 8 support? HOT 3
- Cannot build project on mac HOT 7
- Compilation error in vs2022 HOT 9
- Advice on methods of child class HOT 1
- Error code 1 when project have refference to MrAdvice, but doesn't have any annotations HOT 3
- [feature request] Allow set custom attributes on inner method HOT 4
- Override assembly level attributes HOT 1
- [bug] Advice Attribute with Generic not working on separate project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mradvice.