- Home /
Get Debug Line/function on Unity from .Net dll
I was wonderning what i'm suppose to do to get some Debug information on Unity, when something goes wrong on my external .Net C# dll.
For instance :
NullReferenceException: Object reference not set to an instance of an object
`Pim.Pam.Poum.Start ()`
I always get : at line=-1 and only the function name.
And actually my Nlog Logger wich use
string line =new System.Diagnostics.StatckTrace(true).getFrame(frame).GetFileName()
is also giving line 0 everytime :(
May i need to add the dll pdb or enable something else? Thanks
Comment
Your answer
Follow this Question
Related Questions
Debugging "SIGSEGV" error? 2 Answers
How do you attach the script debugger to iPhone? 3 Answers
How do I print messages and debug information to the GUI? 4 Answers
Inexplicable variable behaviour - debug help? 1 Answer
Array Is Out Of Range 2 Answers