PDA

View Full Version : چرا نمیشود در یک پروژه open Tools API کد ها را دیباگ کرد



soroush_vs
چهارشنبه 18 مرداد 1391, 14:12 عصر
با سلام
نیاز دارم که در یک پروژه expert با open tools API ، بتونم کدها رو دیباگ کنم
چطور میشه این کار رو انجام داد و چرا این پروژه ها با پروژه ها ی معمولی تفاوت داره؟

soroush_vs
چهارشنبه 18 مرداد 1391, 15:01 عصر
فکر میکنم این مرتبط با مشکلم باشه

How can I debug a package wizard?

1. In the project options for your package, turn on debug information, stack frames, reference info, etc. Turn optimizations off.
2. Uncheck your package in the Project Options Packages tab, if necessary.
3. Build your package (don’t install it).
4. Select Run, Parameters from the IDE menu. Enter the IDE’s executable as the host application for your package.
5. Run the host application (F9), and another copy of your IDE should appear.
6. In the second copy of the IDE, open up the Project Options and load your expert package into the IDE.
7. You can now debug the package as it were a normal program (watches, breakpoints, inspections, tooltip evaluation, etc.).
8. Note that package debugging does not work well in Delphi 4 and BCB 4. Both will lockup fairly often when debugging DLLs and packages. Later releases should work better.
ولی مورد 6 رو نمیدونم دقیقا چیه و چکار باید بکنم مورد 6 رو بیشتر توضیح داده بود شاید مشکل حل میشد
راهنمایی کنید لطفا

soroush_vs
یک شنبه 30 مهر 1391, 08:51 صبح
روش دیباگ کردن به این صورته که در پروژه های OTA باید پروژه رو دوبار در دو نسخه دلفی بصورت همزمان لود کرد.با توضیحات بالا کاملتر میشه این نکته