c# - how to debug a dll (c code) being invoked by a c # application -
hi have been working on c# application invokes dll function. dll c code initializes sockets read/write/manipulate data. dll compiled debug info. problem under conditions c# application pops message saying memoryaccessviolation in dll, not show more information. linux developer, want know mechanism debug such issues.
within visual studio in project properties, can enable debugging of unmanaged code clicking on debug
tab , choose option (enable unmanaged code debugging). in addition, can tell debugger stop when exception occurs in unmanaged code pressing <ctrl><alt>e
(or choosing option under debug menu) bring exceptions dialog.
Comments
Post a Comment