函数是第三方的开源代码,比如OpenGL或OpenCV的库函数,有源码的。以前用VC6,在调试时,如果调用开源的库函数,可以用step into 进入改函数体,但是换到vs2008时,step into 无法进入了。是不是vs2008有些什么设置呢。请高手支招,谢谢!

解决方案 »

  1.   

    没有,你按F12可以进去函数体,F11在debug下进去函数体
      

  2.   

    没道理啊,有源码的话,就能编译产生调试信息,肯定可以step into的
      

  3.   

    在微软的站点找到了答案。需要设置,具体见下列链接。
    http://msdn.microsoft.com/en-us/library/cc667388.aspx
    To enable stepping into properties and operators
    1.On the Tools menu, click Options.2.In the Options dialog box, click Debugging from the box on the left side.If the Debugging category does not appear, select the Show all settings check box.3.In the General box, clear the Step over properties and operators (Managed only) check box.4.Click OK.To disable stepping into properties and operators
    1.On the Tools menu, click Options.2.In the Options dialog box, click Debugging from the box on the left side.3.In the General box, select the Step over properties and operators (Managed only) check box.4.Click OK.
      

  4.   

    并没有在“General”中找到“Step over properties and operators (Managed only)”啊