Debugging Internet Explorere Addin
-
12 เมษายน 2553 12:06
I developed an IE Add-on using ATL COM. The problem is I am unable to debug it. Despite setting executable file name as
C:\Program Files\Internet Explorer\iexplore.exe
While pressing F5 Internet Explorer opens, but it doesn't go anywhere in the function where I've set the break points. Can someone help me in resolving this?? I recently upgraded internet explorer from 7 -8. Does it makes any difference? It doesn't even display the message "Debug Information Not available"
Thanks in Advance
Adeel
ตอบทั้งหมด
-
12 เมษายน 2553 15:58
http://blogs.msdn.com/jesse_collins/archive/2009/06/03/how-to-debug-lcie-with-windbg.aspx (windbg)
Loosely Coupled IE (LCIE) spawns new processes all over the place. You need to make sure you connect to the right one. You can use Image File Execution Options to attach the JIT thingy, or you can use Tools -> Attach to process.
Or you can set HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main, TabProcGrowth = 0 (but only on your debug machine for debugging; don't set this on your users machines).
-
12 เมษายน 2553 15:58
http://blogs.msdn.com/jesse_collins/archive/2009/06/03/how-to-debug-lcie-with-windbg.aspx (windbg)
Loosely Coupled IE (LCIE) spawns new processes all over the place. You need to make sure you connect to the right one. You can use Image File Execution Options to attach the JIT thingy, or you can use Tools -> Attach to process.
Or you can set HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main, TabProcGrowth = 0 (but only on your debug machine for debugging; don't set this on your users machines).
-
13 เมษายน 2553 4:03
This is strange. I don't have this key present in the registry. I had to create it manually and set it it Zero
Secondly I went to Import Export Settings and Rest everything. Now when I click on debug it says, Debugging information not available
Adeel -
15 เมษายน 2553 4:52
The key doesn't exist by default on purpose. It's for debugging or manual performance tuning.
Make sure you build your project in debug mode and the PDBs are available. You may need to do a clean build.
-
23 เมษายน 2555 9:33
thanks for the raising this on msdn..its quite helpful..The key doesn't exist by default on purpose. It's for debugging or manual performance tuning.
Make sure you build your project in debug mode and the PDBs are available. You may need to do a clean build.
Kellsie...
- เสนอเป็นคำตอบโดย kellsie 23 เมษายน 2555 9:33
-
20 มิถุนายน 2555 8:31
Earlier it was helpful to me but now when i m trying to debug the code for BHO using the same trick(i.e setting the registry key -- HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main, TabProcGrowth = 0)
it is not so helpful.............It there is any other settings that nee to be done in Project properties or in the Registry??
Please reply ASAP as the requirement is quite urgent...
many many thanks in advance.
kellsie
Kellsie...