I am having an outlook addin which is fairly stable and has been used for years. On a citrix machine environment, the addin is causing outlook to hang if it is left open. Logs are not helping much. How can I approach the problem if I can do the native debugging?
What is the recommended approach to solve outlook addin hanging?
390 Views Asked by Raja At
1
There are 1 best solutions below
Related Questions in DEBUGGING
- Eclipse find source file from library
- Debug native code in Android Studio
- Breakpoint "concurrency" in Intellij
- PhpStorm IDE. Collapse custom/debug code
- How does one debug infinite recursion in Haskell?
- Android Studio missing exception stacktrace in Logcat
- java FileNotFoundException wont locate a file in the same project
- How can I debug scala.js unit tests?
- Why Eclipse Debugger does not stop on scoped exception breakpoint (how to stop on handled exception)
- Suggestions for my Selection Sort / Java
- Fortran Debugging
- Debug Excel VSTO add-in when launched by double-clicking existing file
- Starting GDB with interpreter mi via .gdbinit file
- How to print call stack in Swift?
- Preventing threads in Xcode
Related Questions in VSTO
- Word Addin not working in 64bit office but working on 32bit office
- Debug Excel VSTO add-in when launched by double-clicking existing file
- Getting Outlook Window from VSTO Addin
- change the Label of a button in ribbon word add in
- Converting Text Document from English to Chinese in Tx Text control Winform third party developed tool
- MS-Word paragraph mark (¶) shows in equation mode, how to change normal mode
- C# Word Add-In Trusted Certificate
- How to detect during Tick event if a dialog is open in Word?
- how to copy the text from textbox and paste on outlook message body
- Office incorrectly states "Programmatic Access To Visual Basic Project Is Not Trusted"
- Outlook 2013 VSTO: Determine which calendar an AppointmentItem is on?
- Shapes manipulation slows down while in "Presenter View" mode
- Excel Interop Try Catch causes memory leak I find it hard to believe I have to pick between error handling or leaking memory?
- Word add-in - ribbon
- Searching user tasks by task.body text
Related Questions in DEBUG-SYMBOLS
- Loading pdb for msctf.dll from symbol server doesn't work
- Cannot step into System.Security.Cryptography.X509Certificates methods
- Effect of debug symbols in visual studio
- Extracting pdb from mscorlib.ni.dll using ngen or other tools
- Determining symbol addresses using binutils/readelf
- Make gdb search for symbol files again
- Symbols loaded, but still can't step into .Net source
- LLDB does not display source for Rust program on FreeBSD 12
- How to produce/generate a .pdb (debug symbols)?
- Programmatically get debug information
- Why can't I find System.Web.pdb on referencesource.microsoft.com?
- Open Minidump : No native symbols in symbol file
- When does dbghelp loads symbol from path embeded in executable file
- g++ not compiling in debug information
- Reading debug information from DOS MZ executable
Related Questions in SYSINTERNALS
- "An error occurred opening snapshot" Process Monitor
- Start WPF Application with RunAs Prompt
- DLLs reloaded to their preferred address
- listdll doesn't see assemblies loaded
- Getting started with dump file analysis
- Sysinternals Process Monitor (ProcMon): Using wildcards on filter
- Sysinternals Process Monitor (ProcMon): Working with Time of Day Filter
- What is the recommended approach to solve outlook addin hanging?
- PsExec hangs on calling the interactive executable
- Automating autoruns-psexec or not
- What does Windows IOCTL code 0x83350048 do?
- Call Process.GetProcesses by specifying/impersonating another account?
- windows-kernel - Can a thread id ever be the same as a process id?
- WinDbg find all C++ objects of type X on heap that do not use inheritance (no vftable)
- Convert a Cygwin PID to a Windows PID
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Outlook can hang for many reasons. Since Outlook is COM-based, it uses STA which will cause the main UI thread to hang while it waits for a long-running operation to complete (network call, disk read/write, etc.).
You will need to review the source code to review what behaviors the component is performing when it hangs. Inserting trace statements (
Trace.TraceInformation) may also help if you can repeat the hangup. Start with the eventThisAddIn.ThisAddIn_Startupto see the entry point to the AddIn. DebugView is a great utility to view the Trace output of your plugin while it's running.If COM resources are not being cleanup up properly (
Marshal.ReleaseComObject) - over time the memory consumption will grow which will start making the application sluggish - although it shouldn't cause it to freeze/hang.Your best bet is understanding the behavior of the plugin to see what triggers the hang.