c# - mdbg can't debug my hello world program -
in order try out mdbg, have following simple hello world program:
// kkk.cs using system; class hellomain { static public void main() { console.writeline("hello"); } }
compile csc /debug kkk.cs, yields:
kkk.exe kkk.pdb
i (from visual studio command line):
mdbg kkk.exe
or
mdbg !r kkk.exe
i got:
error: request not supported. (exception hresult: 0x80070032)
try csc /debug /platform:x86 kkk.cs
you're running on 64-bit windows. mdbg 32-bit process , can debug 32-bit processes.
Comments
Post a Comment