Search code examples
debuggingvisual-studio-2017asp.net-core-webapi

Green highlight of code while debugging in web-api


I am using a web-api projects for some parts of projects to get data from that api and I need to debug and trace my code as usual but some parts of this api code are going to debug mode without setting any debugger at that line and that line is being highlighted with green color.It does not influence on any code or result but it is really disgusting during work and I am curious to know the reason


Solution

  • Green highlight of code

    Maybe you can get some help from this issue.

    Also, you can try Tools=>Import and export settings=>reset all settings and Tools=>options=>environment=>general to change the color theme to check if it helps.