Home  >  Q&A  >  body text

c++ - 请问如何分析windows下某个项目的代码

最近接手一个项目(Window下的,里面主要是C++,还有一个bat脚本)编译该项目是双击其目录下的bulid.bat文件,就生成了可执行文件,我的想法调试该项目可执行文件,单步执行查看程序源码的执行流程,请问在window下如何做?(之前只接触过linux,gdb xxx.exe 就行了)

PHP中文网PHP中文网2765 days ago782

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 14:19:49

    Use an IDE to debug, or if you are familiar with Linux, you can use cygwin, minGW and other tools to simulate the Linux environment

    reply
    0
  • 阿神

    阿神2017-04-17 14:19:49

    You can try VS.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 14:19:49

    If there is an sln or csproj file, it means it was developed in vs. You can try it with vs. If not, then look for windbg

    reply
    0
  • Cancelreply