程序員請不要忽視調試技術
想寫這篇文章已經很久了,但是一直不知道如何開始,因為調試技術這個東西本身不像編程語言,C++/C#這種簡單的東西,大家想做些什么,查查類庫,查查msdn,寫出一些功能,皆大歡喜。
寫幾個demo考考大家的調試水平:
When you are using recursive definitions of this type, each alias is translated as soon as it is used.
For example, the following example displays 3, not 7.
0:000> r $.u2=2
0:000> r $.u1=1+$u2
0:000> r $.u2=6
0:000> ? $u1
Evaluate expression: 3 = 00000003
Similarly, the following example displays 3, not 7.
0:000> as fred 2
0:000> r $.u1= 1 + fred
0:000> as fred 6
0:000> ? $u1
Evaluate expression: 3 = 00000003
The following example is also permitted and displays 9.
0:000> r $.u0=2
0:000> r $.u0=7+$u0
0:000> ? $u0
Evaluate expression: 9 = 00000009