2013年9月11日星期三

Beginners diao wire questions about breakpoints and namespace

I added a breakpoint , but they can not hit.
I know the menu bar "Debug " and " Options - Debugging - General" , uncheck " Require source files to exactly match the original version " , you can change the breakpoint is hit problems . However, I do not know why cause the source file does not match the original version , how to match up . Seeking answers.


create a new project , using someone else's template , but do not like the original namespace directly modify the namespace name ( instead scs.controllers) , set breakpoints and compiled , and why it is still under the original type of the class "ecmall.controllers.visitor".

------ Solution ------- -------------------------------------
2 is a problem because the original inconsistent versions caused.

try to clean-up program , rebuild the program operation.

It is not, turn off the VS, reopen compile.
------ Solution ---------------------------------------- ----
obj directories to the bin directory and delete

press ctrl + f5 compilation.
------ For reference only -------------------------------------- -
recompile. .
------ For reference only -------------------------------------- -

can clearly point? Which is a problem for you ah.
I have compiled several back .
I compile it the wrong way ?
I use VS2010.
------ For reference only ---------------------------- -----------
beginner, recompile do not know what should be deleted .

没有评论:

发表评论