Skip to main content
Nov 30, 2021 10:44 AM UTC
Solved

Auxiliary Application with ProE

Hi guys,

 

I have a DLL Application that is launched when Creo starts, when I go to auxiliary application menu, and I stop it, it stops. No problem until here. But when I try to start it now, it crashes Creo.

 

I have no idea why, nothing in the trail and traceback.

 

Can you help me figure it out please? Thank you

Nov 30, 2021 10:54 AM UTC

If you're using Visual Studio as IDE you can simply attach the debugger to the xtop.exe process just before you restart your application and add a break point at the beginning of your user_initialize() function. When starting the app, the debugger will jump into it and you can check step by step which areas of your code get executed until the crash occurs.

2 replies

Nov 30, 2021 10:54 AM UTC

If you're using Visual Studio as IDE you can simply attach the debugger to the xtop.exe process just before you restart your application and add a break point at the beginning of your user_initialize() function. When starting the app, the debugger will jump into it and you can check step by step which areas of your code get executed until the crash occurs.

Nov 30, 2021 11:52 AM UTC

Thank you! It helps me 🙂