Christophe Nasarre

@chrisnas.bsky.social

I like to understand how things work

I was a HUGE fan of Cursor UI and I was forced to update to a new version today so now... it is unusable :^( Maybe it was too easy to have conversation per folder in a sidebar with most of the screen dedicated to plan. Cursor team: please let me use the previous version!!

Finishing to prepare my .NET CLI & AI session for #UCK26: dotnet-pstacks and dotnet-dstrings have been updated to behave as MCP servers with tools and custom prompts. In addition, dedicated SKILL.md files have been added to github.com/chrisnas/Deb.... Happy troubleshooting!

DebuggingExtensions/src at master · chrisnas/DebuggingExtensions

Host of debugging-related extensions such as post-mortem tools or WinDBG extensions - chrisnas/DebuggingExtensions

github.com

For my new session about .NET CLI tools and AI, I've updated my own CLI tools to support new versions of .NET in the future (dotnet-wait, dotnet-http, dotnet-gcstats, dotnet-fullgc) and act as MCP server (dotnet-pstacks, dotnet-dstrings) during production investigations Happy troubleshooting!

Blogged: Removing byte[] allocations in .NET Framework using ReadOnlySpan<T> andrewlock.net/removingbyte... In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span<T> look at the associated IL, and discuss the potential risks #dotnet

Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>

In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span<T>, look at the associated IL, and discuss the risks

andrewlock.net

Why would you need .pdb files for .NET assemblies? Don't their already contain all the needed metadata? This post will show you how to extract the source code and line number information from the .pdb files generated by .NET compilers thanks to DbgHelp API. chnasarre.medium.com/4188f862211d...

But where is my method code? DbgHelp comes to the rescue

This post show how DbgHelp could help you figure out the line and source code of each managed methods from a .pdb file

chnasarre.medium.com

I just implemented a tool accepting a .pdb file to generate a .sym file listing functions symbols. A first post (chnasarre.medium.com/9826fd4f251e...) shows the coding details. I'm sharing my vibe coding experience using Cursor in a second longer one (chnasarre.medium.com/f957106a3e9f...)

How to dump function symbols from a .pdb file

Detail how to write a tool that generates a .sym file listing functions symbols with their address, size and signature from a .pdb file

chnasarre.medium.com

I spent more time than expected to understand why my .NET profiler never received the event that would help me figuring out the GC mode (Server/Workstation) but Perfview and dotnet-trace did. I needed to debug the CLR to realize that the event is emitted before the profiler gets initialized :^(

Bild