When I mark out the DATABIND in the Page_Load there is not even a change in the output!
What am I overlooking?
Has anyone any idea?
1.Where is the breakpoint - in which file? 2.Do you load default.aspx in browser - if so are there really any products on home page?
Hi LevGe,
Thanks for helping;
1. The breakpoint is in HomePageProducts.asxc.cs, the user control is registered and than instantiated (by default in version 1.60) 2. Yes, I load the default.asp in the browser - it is the default page of the VS-website. What I see are the 4 products, that come with nopCommerce by default.
When I remove the instance of the HomePageProducts from the default.aspx.cs, the products are gone, so I must be in the right file..
OK, solved for now: In VS under Tools ->Options ('show all settings') -> Debug -> General I have deselected the option for 'Require source file to exactly match the original version'.
Now I can step through the .cs-code when debugging.
Strange that this option should be changed from the default value!
For source and symbol file unmatch issue, please use the following steps to troubleshoot:
1. In Debug mode, open menu Debug / Windows / Modules
2. In the module list, find the module you are debugging and check the following:
a. Is the module path correct? Make sure it is not pointing to wrong one.
b. Is symbol loaded? If loaded, is the symbol path correct?
c. Check the time stamp, is it the time you perform the build?
d. Check the source code file's time stamp in windows explorer. Is it modified after the build time?
3. If the symbol is not loaded correctly, right click on the module and select Symbol Load Information. Check why the symbol is not located at the search paths.