Scalabium Software |
|
Knowledge for your independence'. | |
![]() ![]() |
#8: I need read the unit name and line number with error |
|
If you included the debug information in your project then: string currentFile = new System.Diagnostics.StackTrace(true).GetFrame(0).GetFileName(); int currentLine = new System.Diagnostics.StackTrace(true).GetFrame(0).GetFileLineNumber();
|
|
![]() ![]() ![]() |
Copyright© 1998-2025, Scalabium
Software. All rights reserved. |