Stack trace for Plugin Errors?
3 posters
Page 1 of 1
Stack trace for Plugin Errors?
I am recently developing a plugin, and some NullPointerException seem to be happening.
I am working on debugging the plugin, but I think providing stack trace when reporting a plugin error would be nice.
I'm using OBVE v1.5.3.9.
I am working on debugging the plugin, but I think providing stack trace when reporting a plugin error would be nice.
I'm using OBVE v1.5.3.9.
Re: Stack trace for Plugin Errors?
Can't you just run the plugin in a debugger?
A dead easy alternative would be to add a global exception handler to the plugin & save the stack traces yourself.
I don't think off the top of my head I can pull in stack traces from an external proxied assembly easily, but I can certainly test this easily enough.
A dead easy alternative would be to add a global exception handler to the plugin & save the stack traces yourself.
I don't think off the top of my head I can pull in stack traces from an external proxied assembly easily, but I can certainly test this easily enough.
Re: Stack trace for Plugin Errors?
@leezer3 Thank you! I've fixed the problem. It was quite stupid.
BTW How can I debug a plugin? Do I need to link a debugger to openBVE.exe?
BTW How can I debug a plugin? Do I need to link a debugger to openBVE.exe?
Re: Stack trace for Plugin Errors?
my guess is yes. that would be the most logical idea. try to get one that's 32x not 64x or 86x, those tend to crash. at least for myself anyways. maybe a different story on your computer. or i am talking crap, this whole system modifications topic is not my strong point at allĀ
TheNetworkerLover- Posts : 43
Join date : 2019-05-29
Location : Somewhere over the rainbow
Re: Stack trace for Plugin Errors?
With Visual Studio, all you should need to do is copy your output plus PDB to the train folder, launch openBVE with the train and attach to the running openBVE process.
Similar topics
» Errors
» Fixing Errors
» Discovering cause of errors
» Transparency errors on some .x objects
» Problems and errors in openBVE
» Fixing Errors
» Discovering cause of errors
» Transparency errors on some .x objects
» Problems and errors in openBVE
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|