cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abhinemo
Level 2

Attaching a debugger to custom codes

Hi,

We are currently using IA 7.0 and are presently upgrading the projects to IA 2008. We have extensive usage of custom codes in our projects. But there are some issues with the custom codes (only when we use IA 2008 to build the projects) which include uninstaller crashing.

I want to know is there any way to see the flow of the execution of custom codes? Can w attach a debugger like eclipse to see the flow and determine where exactly is the custom code crashing? :confused:

Please Help!!

P.S. The custom codes are running perfectly for IA 7.0
Labels (1)
0 Kudos
(1) Reply
purcellk24
Level 7

1. Are you getting stacktraces?
2. I haven't tried this, but I believe you have to start your installer/uninstaller with debugging available. Look up the jdb command. That should help getting a debugable runtime environment. Then you have to setup eclipse to attach to that session.
3. Otherwise, you could do it the old fashioned way and print out debugging information.
0 Kudos