[C#] Console.WriteLine Debugging

  • Context: C# 
  • Thread starter Thread starter frenzal_dude
  • Start date Start date
  • Tags Tags
    Debugging
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
frenzal_dude
Messages
76
Reaction score
0
Hi,
how can I debug the C# command Console.WriteLine("text"); so I can see what windows operating system code gets called? Is it possible to go to lower levels? Ie. see what code gets called to make the pixels light up on your monitor to display the text?

I know that's really low level, and probably a lot of you are thinking why would anyone want to know that. But someone must have worked it out, and I'm curious to see how it works.
 
Last edited by a moderator:
Physics news on Phys.org
Last edited:
The problem you are probably going to run into is that you will quickly get to library code (already compiled) as at best you will be able to see the header files for that code. Even you want to start looking at the libraries you will have to do that in assembly and it will be painful, but if you have Visual Studio they probably have a tool that will let you do it.