Why no compiler help use log verbose thing

・1 min read

Usually, after user report has a bug,
we get the log, log only has 2 thing

  1. NullReferenceException on line x
  2. What data user has input

Then, we need make some test case or input in UI manually
Maybe need 0.5 - 1 day to reproduce it
It's too trouble

Why haven't a compiler add log some like debug mode watch function

Original

var foo = "ABC"
var bar = "DEF"

foo = bar

After compile

var foo = "ABC"
Console.WriteLine("foo = \"ABC\"")
var bar = "DEF"
Console.WriteLine("bar = \"DEF\"")

foo = bar
Console.WriteLine("foo = \"DEF\"")

Off Topic: Where did you find a post banner image

DISCUSSION
Classic DEV Post from May 18 '18

Why do employers check job candidates' GitHub profiles?

It seems to me like a pretty weak way to get an apples-to-apples impression of ...

Benny Leung
Join DEV

Heard of computers? This could be you. Get a lifetime membership for a flat fee of $0.00.