Today, I'd like to share with you a simple but useful trick. Imagine yourself that you are debugging an application and you find a place with the following very simple code: var flag = ReadConfiguration(); if (flag) { //... } else { //... } The problem is that the flag variable is set to false but you need to check what would happen if it is set to true. Of course you can easily change the value of this variable in Visual Studio. But what would you do if this kind of code i...

Dziel się z innymi:
[EN] Michał Komorowski | Tips & Tricks: How to tell VS to modify variables in the runtime for us?

Inne 3034 dni, 4 godziny, 53 minuty temu lkurzyniec 94 pokaż kod licznika zwiń

Wczytywanie artykułów...