www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Runtime.traceHandler

reply =?UTF-8?B?Ik3DoXJjaW8=?= Martins" <marcioapm gmail.com> writes:
Hello!

While working on getting better callstacks, I ran into what I 
think is a nasty bug - The module constructor in runtime.d is 
overriding any custom handler as soon as a new thread spawns, 
making this facility quite annoying to use. I have verified this 
to be the case in gdb.

Should the code be moved into a shared constructor, perhaps?
May 09 2015
parent ketmar <ketmar ketmar.no-ip.org> writes:
On Sat, 09 May 2015 18:35:44 +0000, M=C3=A1rcio Martins wrote:

 Hello!
=20
 While working on getting better callstacks, I ran into what I think is a
 nasty bug - The module constructor in runtime.d is overriding any custom
 handler as soon as a new thread spawns, making this facility quite
 annoying to use. I have verified this to be the case in gdb.
=20
 Should the code be moved into a shared constructor, perhaps?
https://issues.dlang.org/show_bug.cgi?id=3D14226=
May 11 2015