Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
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.
GeneralRe: Program don't stopps at Breakpoint Pin
Alex Korchemniy5-Nov-04 14:35
Alex Korchemniy5-Nov-04 14:35 
GeneralRe: Program don't stopps at Breakpoint Pin
Peff6-Nov-04 18:23
Peff6-Nov-04 18:23 
GeneralRe: Program don't stopps at Breakpoint Pin
Johannes Oehl10-Nov-04 21:26
Johannes Oehl10-Nov-04 21:26 
GeneralWeb Service Proxy class Pin
Member 5343575-Nov-04 4:25
Member 5343575-Nov-04 4:25 
GeneralRe: Web Service Proxy class Pin
Alex Korchemniy5-Nov-04 14:32
Alex Korchemniy5-Nov-04 14:32 
GeneralRe: Web Service Proxy class Pin
Member 5343578-Nov-04 2:53
Member 5343578-Nov-04 2:53 
GeneralRe: Web Service Proxy class Pin
Member 5343578-Nov-04 2:56
Member 5343578-Nov-04 2:56 
GeneralTimer tick problem Pin
Aviv Halperin5-Nov-04 4:02
Aviv Halperin5-Nov-04 4:02 
GeneralRe: Timer tick problem Pin
Stefan Troschuetz5-Nov-04 4:20
Stefan Troschuetz5-Nov-04 4:20 
GeneralExcel and c# Pin
Hugo Migneron5-Nov-04 3:30
Hugo Migneron5-Nov-04 3:30 
GeneralRe: Excel and c# Pin
Dave Kreskowiak5-Nov-04 5:16
mveDave Kreskowiak5-Nov-04 5:16 
GeneralDetecting & Moving other Applications windows Pin
CoffeeZombie5-Nov-04 3:27
CoffeeZombie5-Nov-04 3:27 
GeneralRe: Detecting & Moving other Applications windows Pin
yoaz5-Nov-04 3:45
yoaz5-Nov-04 3:45 
GeneralRe: Detecting & Moving other Applications windows Pin
CoffeeZombie5-Nov-04 4:27
CoffeeZombie5-Nov-04 4:27 
GeneralRe: Detecting & Moving other Applications windows Pin
Stefan Troschuetz5-Nov-04 4:13
Stefan Troschuetz5-Nov-04 4:13 
Generallistview column reorder problem Pin
vog_ro5-Nov-04 3:23
vog_ro5-Nov-04 3:23 
GeneralRe: listview column reorder problem Pin
Peff6-Nov-04 19:02
Peff6-Nov-04 19:02 

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.