'Privileged instruction'.
Amex
Amex at gmail.com
Sat May 25 04:38:53 UTC 2019
I'm having serious issues with this. I moved some code to a
different directory and it's broke all over the place(even though
I updated every occurrence of the paths). Somewhere something is
not being loaded and it's producing a null reference somewhere
which is propagating through the app in a very strange way(I
think it has to do with the Orange SerDes.
The problem is that for any crash such as a range error or a null
pointer reference, the debugger throws a 'Privileged
instruction'. and then exists the program.
Hence I can't see the stack or anything and can't debug the
program. I have to run it in the command prompt and have it crash
then launch a new instance of VS and then it will show the line,
but still say 'Privileged instruction' error. I can see the stack
and eventually locate the error. [There are lot's of windows/VS
dialog boxes that slow the process down]
It's very slow doing it this way. Surely something can be done?
Unfortunately I'm using x64 binaries with x64 GTK and others so
it's a lot of trouble to switch to x86.
Could you look in to this when you get a chance?
Thanks.
More information about the Digitalmars-d-ide
mailing list