473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Debug.Writeline and foreach- Error??

Hello,
I wrote a COM Addin using C#. Now I saw twice:
1. everytime I interate a Collection (i.e. Bookmarks) with foreach, this
works but after having finished the function. The COM Addin hangs or do not
trap the events to call its functions.
2. everytime I make an output with Debug.WriteLine, this works but after
having finished the function. The COM Addin hangs or do not trap the events
to call its functions.

Does anybvody know where this comes from?
--
---
Best Regards

Patrick Jox
Nov 13 '05 #1
0 1610

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John A. Bailo | last post by:
When I run this line, Debug.WriteLine("I am in OnHandler2 and MyEventArgs is {0}", e.m_id); and e.m_id = "Event args for event 1" What prints in the debug window is: Event args for event...
9
by: Miha Markic | last post by:
Hi, I've found a strange problem regarding Debug.WriteLine and Thread in suspended state. Create a thread, start it and make it suspended. Then try Debug.WriteLine - it will start 100% CPU...
3
by: AKA COOPERMAN | last post by:
As C# express only creates RELEASE builds, how do I get my Debug.WriteLine statements to work ?
3
by: Frank Rizzo | last post by:
Is there anyway to transparently redirect the output of the Debug.WriteLine statement from the Debug window to something else such as a console or a file? Thanks
7
by: Thomas Pecha | last post by:
Sorry for all who think this is easy, I was not able to handle this Coming from VB6 where with simple debug.print strAString you could write to debug window, I am totalling failing in vb.net...
2
by: Smoke | last post by:
Whats is the deal with Debug.WriteLine command... I mean, in my programs, i usually add many of those commands to debug it while programming, and to be able to find bugs and things easier, but, it...
5
by: John A Grandy | last post by:
how to use System.Diagnostics.Debug.WriteLine to write directly to a window viewable during debug mode (similar to Debug.Print in VB6)
5
by: Billy | last post by:
Hi! How can I override "Debug.Writeline("Message")" so that will not show that msg in Debug window, but wrote it to a file. I already have a code to write to a file but I would like to use just...
0
by: caa | last post by:
Hi there, people! I m working on a c# control. Using VS2003 and writing for .NET 1.1. I wrote an app that automaticly opens and closes (after a random Sleep) forms that own one instance of my...
2
by: Bob S | last post by:
I am using Debug.WriteLine and Trace.WriteLine to output messages from a dll. This dll is used in an application. No matter whether i run the program in release mode or debug mode and whether i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.