السلام عليكم
اريد ان اعرف الفرق بين بناء المشروع و مجلد ال Debug
و بنائه في مجلد الRelease
السلام عليكم
اريد ان اعرف الفرق بين بناء المشروع و مجلد ال Debug
و بنائه في مجلد الRelease
عند بناء التطبيق في طور Debug فإن فيجوال ستوديو سيضيف ما يدعى بالـDebugging Symbols إلى البرنامج. مهمتها هي تمكين المبرمج من تتبع عمل برنامجه ليسهل عملية الإختبار و التطوير، ولكن من ناحية أخرى هذا يجعل حجم التطبيق أكبر قليلاً و يبطئ من عمله. لذا عندما يكتمل البرنامج و تنتهي فترة الإختبار و الفحص يمكنك إعادة بنائه في طور Release لتوزيعه إلى العملاء.
Debug build: The debug build aids in testing and debugging. This build contains error-checking, argument-verification, and debugging information that is not available in the release build. Consequently, the debug build is larger, slower, and uses more memory. Performance is also slower because the executables contain symbolic debugging information. Additional code paths are executed because of parameter checking and output of diagnostic messages for debugging purposes.
Release build: The release build is smaller and faster, and it uses less memory than the debug build. It is fully optimized, debugging asserts are disabled, and debugging information is stripped from the binaries. Because the compiler repositions and reorganizes instructions, the debugger can't always identify the source code that corresponds to the instructions.
Knowledge Is Power
هذا الموضوع مغلق.