Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
GeneralRe: Grid control Pin
RIS_20009-Dec-04 23:44
RIS_20009-Dec-04 23:44 
Generalcancel the next step Pin
webhay5-Nov-04 13:44
webhay5-Nov-04 13:44 
GeneralRe: cancel the next step Pin
Alex Korchemniy5-Nov-04 15:17
Alex Korchemniy5-Nov-04 15:17 
GeneralRe: cancel the next step Pin
Ami Bar6-Nov-04 1:17
Ami Bar6-Nov-04 1:17 
QuestionTemperature? Pin
bouli5-Nov-04 11:38
bouli5-Nov-04 11:38 
AnswerRe: Temperature? Pin
Alex Korchemniy5-Nov-04 15:24
Alex Korchemniy5-Nov-04 15:24 
AnswerRe: Temperature? Pin
Dave Kreskowiak6-Nov-04 2:26
mveDave Kreskowiak6-Nov-04 2:26 
GeneralRe: Temperature? Pin
bouli6-Nov-04 2:29
bouli6-Nov-04 2:29 
GeneralRe: Temperature? Pin
Dave Kreskowiak6-Nov-04 5:37
mveDave Kreskowiak6-Nov-04 5:37 
GeneralLinking into SQL's replication engine Pin
Zangarine5-Nov-04 11:13
Zangarine5-Nov-04 11:13 
GeneralRe: Linking into SQL's replication engine Pin
Alex Korchemniy5-Nov-04 15:31
Alex Korchemniy5-Nov-04 15:31 
GeneralRe: Linking into SQL's replication engine Pin
Zangarine5-Nov-04 20:50
Zangarine5-Nov-04 20:50 
GeneralRe: Linking into SQL's replication engine Pin
Dave Kreskowiak6-Nov-04 2:25
mveDave Kreskowiak6-Nov-04 2:25 
GeneralOnPaint problem Pin
Guinness4Strength5-Nov-04 11:11
Guinness4Strength5-Nov-04 11:11 
GeneralRe: OnPaint problem Pin
Palladino6-Nov-04 2:44
Palladino6-Nov-04 2:44 
General(DR["Name"] is DBNull) vs (DR["Name"] == DBNull.Value) Pin
krisp5-Nov-04 8:24
krisp5-Nov-04 8:24 
GeneralRe: (DR["Name"] is DBNull) vs (DR["Name"] == DBNull.Value) Pin
Dave Kreskowiak5-Nov-04 9:51
mveDave Kreskowiak5-Nov-04 9:51 
Generalsearch about space in staring Pin
webhay5-Nov-04 8:01
webhay5-Nov-04 8:01 
GeneralRe: search about space in staring Pin
Charlie Williams5-Nov-04 8:35
Charlie Williams5-Nov-04 8:35 
Questiondrag-drop How? Pin
ben25-Nov-04 7:31
ben25-Nov-04 7:31 
AnswerRe: drag-drop How? Pin
Alex Korchemniy5-Nov-04 14:55
Alex Korchemniy5-Nov-04 14:55 
Generalapp resolution Pin
Agent 865-Nov-04 7:17
Agent 865-Nov-04 7:17 
GeneralRe: app resolution Pin
Alex Korchemniy5-Nov-04 14:45
Alex Korchemniy5-Nov-04 14:45 
Generalmonitoring a DCOM server Pin
Kevin Tambascio5-Nov-04 7:11
Kevin Tambascio5-Nov-04 7:11 
GeneralProgram don't stopps at Breakpoint Pin
Johannes Oehl5-Nov-04 4:29
Johannes Oehl5-Nov-04 4:29 
I tried to work with the Eventpool (http://www.codeproject.com/csharp/EventPool.asp).

But I have a problem with the debugger:
...
Delegate[] delegates = del.GetInvocationList();
foreach(Delegate sink in delegates)
{
try
{
sink.DynamicInvoke(args);
}
catch(Exception e)
{
Trace.WriteLine(e.Message);
throw(e);
}
}
...

The following code is in another project:
...
private void method1(object sender, EventArgs e)
{
System.Diagnostics.Debugger.Break();
Console.WriteLine("I was in method1");
}
...

Method1 will be called by the delegate. And it works!!! You can see the text at console. But the debugger don't stopp at the line "Console.WriteLine("I was in method1");", where a breakpoint was set.
Then I tried the line "System.Diagnostics.Debugger.Break();". Now the program stops at "sink.DynamicInvoke(args);". The line is green. It seems as if the debugger can't find the sourcecode for method1.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.