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

C#

 
AnswerRe: Unhandled Exception - and don't know why. Pin
btsrinath30-Apr-07 9:45
btsrinath30-Apr-07 9:45 
QuestionBasic 3.0 to .Net 2005 Pin
MoreMakarand30-Apr-07 9:10
MoreMakarand30-Apr-07 9:10 
AnswerRe: Basic 3.0 to .Net 2005 Pin
Dave Kreskowiak30-Apr-07 10:13
mveDave Kreskowiak30-Apr-07 10:13 
GeneralRe: Basic 3.0 to .Net 2005 Pin
MoreMakarand1-May-07 2:59
MoreMakarand1-May-07 2:59 
QuestionLogging Class and Method where exception occurred. Pin
AnneThorne30-Apr-07 9:08
AnneThorne30-Apr-07 9:08 
AnswerRe: Logging Class and Method where exception occurred. [modified*2] Pin
Tarakeshwar Reddy30-Apr-07 10:01
professionalTarakeshwar Reddy30-Apr-07 10:01 
GeneralRe: Logging Class and Method where exception occurred. [modified*2] Pin
PIEBALDconsult3-May-07 9:39
mvePIEBALDconsult3-May-07 9:39 
AnswerRe: Logging Class and Method where exception occurred. Pin
PIEBALDconsult3-May-07 10:17
mvePIEBALDconsult3-May-07 10:17 
Try

new System.Diagnostics.StackTrace ( error ).GetFrames()[0].GetMethod().Name

the only shortcoming is that it requires debug info to do what I want.
Generally release builds don't include debug info.

I'm still trying to figure the proper settings for a VS project.

When I compile on the command line (with CSC) the switch is /debug+.
GeneralRe: Logging Class and Method where exception occurred. Pin
PIEBALDconsult3-May-07 11:39
mvePIEBALDconsult3-May-07 11:39 
QuestionTextBox Pin
hardsoft30-Apr-07 9:07
hardsoft30-Apr-07 9:07 
AnswerRe: TextBox Pin
MoustafaS30-Apr-07 9:21
MoustafaS30-Apr-07 9:21 
Questiondll Pin
netJP12L30-Apr-07 8:08
netJP12L30-Apr-07 8:08 
AnswerRe: dll Pin
Christian Graus30-Apr-07 12:04
protectorChristian Graus30-Apr-07 12:04 
QuestionDataGridView Pin
Mohammed Elkholy30-Apr-07 7:34
Mohammed Elkholy30-Apr-07 7:34 
QuestionCreating classes that use the web / app.config for initialization Pin
Tristan Rhodes30-Apr-07 6:24
Tristan Rhodes30-Apr-07 6:24 
AnswerRe: Creating classes that use the web / app.config for initialization Pin
Pete O'Hanlon30-Apr-07 9:07
mvePete O'Hanlon30-Apr-07 9:07 
GeneralRe: Creating classes that use the web / app.config for initialization Pin
Tristan Rhodes1-May-07 3:14
Tristan Rhodes1-May-07 3:14 
Questiontcp/ip socket Pin
Harikrk30-Apr-07 5:48
Harikrk30-Apr-07 5:48 
AnswerRe: tcp/ip socket Pin
pbraun30-Apr-07 12:17
pbraun30-Apr-07 12:17 
QuestionCheckbox in Gridview Pin
Bubbles230-Apr-07 5:41
Bubbles230-Apr-07 5:41 
QuestionHow to communicate VisualStudio2005 with Microsoft Info Path Pin
pashitech30-Apr-07 4:24
pashitech30-Apr-07 4:24 
QuestionScreenshots with DirectX Pin
wimme30-Apr-07 4:09
wimme30-Apr-07 4:09 
Questioncollection Pin
arkiboys30-Apr-07 3:48
arkiboys30-Apr-07 3:48 
AnswerRe: collection Pin
Colin Angus Mackay30-Apr-07 3:58
Colin Angus Mackay30-Apr-07 3:58 
GeneralRe: collection Pin
arkiboys30-Apr-07 4:02
arkiboys30-Apr-07 4: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.