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

C#

 
General[Remoting]No receiver registered Pin
Ricciolo26-Sep-02 5:50
Ricciolo26-Sep-02 5:50 
Generalnull characters when outputing string to file Pin
Humpo26-Sep-02 5:18
Humpo26-Sep-02 5:18 
GeneralRe: null characters when outputing string to file Pin
Stephane Rodriguez.26-Sep-02 5:42
Stephane Rodriguez.26-Sep-02 5:42 
GeneralRe: null characters when outputing string to file Pin
leppie26-Sep-02 11:00
leppie26-Sep-02 11:00 
GeneralRe: null characters when outputing string to file Pin
Humpo27-Sep-02 1:21
Humpo27-Sep-02 1:21 
GeneralRe: null characters when outputing string to file Pin
leppie27-Sep-02 2:27
leppie27-Sep-02 2:27 
GeneralRe: null characters when outputing string to file Pin
Humpo27-Sep-02 3:59
Humpo27-Sep-02 3:59 
GeneralIncomplete information when exception is thrown Pin
567890123425-Sep-02 21:33
567890123425-Sep-02 21:33 
I am writing Windows application in C# (VS .NET Release). When exception is thrown by framework in some function (for example, I try to call function of the object which is not created), Visual Studio debugger doesn't point to the line which caused the exception. Instead of this it points to the last line of Main function:

static void Main()
{
Application.Run(new Form1());
} // <- debugger points here

Stack window contains this line and all other lines point to .NET functions.

I found some workaround. In Debug - Exceptions dialog there is exception handling algorithm:

When exception is thrown:
- Break into debugger
- Continue

Standard choice is "Continue". If I change it to "Break into debugger", I have full exception information (stack contains all my functions, debugger points exactly to the needed line).

However, this is not a good solution. If I throw exception in my program, debugger breaks on it also.
GeneralData type list for WinAPI use Pin
Raiko25-Sep-02 19:20
Raiko25-Sep-02 19:20 
GeneralRe: Data type list for WinAPI use Pin
Stephane Rodriguez.25-Sep-02 20:09
Stephane Rodriguez.25-Sep-02 20:09 
GeneralRe: Data type list for WinAPI use Pin
Mazdak25-Sep-02 20:26
Mazdak25-Sep-02 20:26 
GeneralRe: Data type list for WinAPI use Pin
leppie26-Sep-02 0:40
leppie26-Sep-02 0:40 
GeneralRe: Data type list for WinAPI use Pin
Raiko26-Sep-02 6:08
Raiko26-Sep-02 6:08 
GeneralRe: Data type list for WinAPI use Pin
Stephane Rodriguez.26-Sep-02 6:38
Stephane Rodriguez.26-Sep-02 6:38 
GeneralRe: Data type list for WinAPI use Pin
leppie26-Sep-02 7:12
leppie26-Sep-02 7:12 
Questionhow can i convert VC++6 's Resources files to C# 's Resources Pin
bclangren25-Sep-02 18:31
bclangren25-Sep-02 18:31 
AnswerRe: how can i convert VC++6 's Resources files to C# 's Resources Pin
Stephane Rodriguez.25-Sep-02 20:27
Stephane Rodriguez.25-Sep-02 20:27 
GeneralApplication.StartupPath.ToString(); Pin
Nick Parker25-Sep-02 17:25
protectorNick Parker25-Sep-02 17:25 
GeneralRe: Application.StartupPath.ToString(); Pin
James McCutcheon25-Sep-02 19:59
James McCutcheon25-Sep-02 19:59 
QuestionOutputDebugString or its ? Pin
imran_rafique25-Sep-02 12:18
imran_rafique25-Sep-02 12:18 
AnswerRe: OutputDebugString or its ? Pin
Paul Riley25-Sep-02 12:32
Paul Riley25-Sep-02 12:32 
GeneralAccessing Public Members of the Main Form from Another Form Pin
Waleed Eissa25-Sep-02 12:09
Waleed Eissa25-Sep-02 12:09 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
leppie25-Sep-02 12:26
leppie25-Sep-02 12:26 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
Waleed Eissa25-Sep-02 12:31
Waleed Eissa25-Sep-02 12:31 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
leppie25-Sep-02 12:53
leppie25-Sep-02 12:53 

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.