c - How can I track system call in win32 API program with debugger(VS 2013)? -


well, wrote code file i/o win32 api. (i'm using visual studio 2013)

it gets 2 file name(one source, 1 destination) , duplicate 1 another.

i used createfile, readfile, writefile.

it's functionally simple. it's not problem. but..

i wanna see system call in these function being called in debugger.

how can this?

with call stack? disassembler?

so want able debug not own code api itself. there different ways that.

at simplest level, use debugger vs2013. won't able trace kernel code, user level code in api. of course use non debug version of windows no symbol table see low-level machine code (*).

if want go deeper, have use debugging tools windows. want debug system calls, advice use windows driver kit, windows symbols, , if go down kernel mode windows remote debugging client windows (all tools available windows dev center).

all tools integrate nicely in visualstudio, prepared hard low level work :-)

(*) can use microsof symbol server access windows symbolic information - iinspectable comment. i've never tested.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -