DumpStackToCSharpCode provides functionality to dump stack to C# code directly from visual studio while debugging application. You can do it from context menu, which is invoked from Autos or Locals windows.
You can download it from visual studio marketplace.
Invoking action from Autos window.
Invoking action from Locals window.