DMD crash! and JSON files

Regan Heath regan at netmail.co.nz
Thu Apr 22 05:07:53 PDT 2010


Rainer Schuetze wrote:
> You need the patches to bugs #4089 and #3415 to create sensible JSON 
> output. I just added another diff to #4089 for an issue that I hit 
> recently.
> 
> With these patches to DMD, I used JSON output for druntime and phobos 
> successfully. 

Ok, I've applied those 3 patches and rebuilt dmd.exe.  It can now 
produce JSON for variant.d which was previously causing a crash.

I modified the win32.mak files for druntime and phobos to produce JSON 
files in a tree matching the source trees, but output to <dmd2>\json.

I've added that json path to the VisualD global JSON paths setting, eg.
$(DMDInstallDir)\json

(I tried specifying the path without the $() var but it makes no difference)

I highlight BufferedFile and press F12, or right-click and choose "Go To 
Definition" and it doesn't work :(

Any ideas?

Here is a listing of my JSON files for reference...

<dmd>\json\core
<dmd>\json\crc32.json
<dmd>\json\gc
<dmd>\json\json.txt
<dmd>\json\object_.json
<dmd>\json\rt
<dmd>\json\std
<dmd>\json\core\bitop.json
<dmd>\json\core\cpuid.json
<dmd>\json\core\dll_helper.json
<dmd>\json\core\exception.json
<dmd>\json\core\memory.json
<dmd>\json\core\runtime.json
<dmd>\json\core\sync
<dmd>\json\core\thread.json
<dmd>\json\core\thread_helper.json
<dmd>\json\core\vararg.json
<dmd>\json\core\sync\barrier.json
<dmd>\json\core\sync\condition.json
<dmd>\json\core\sync\config.json
<dmd>\json\core\sync\exception.json
<dmd>\json\core\sync\mutex.json
<dmd>\json\core\sync\rwmutex.json
<dmd>\json\core\sync\semaphore.json
<dmd>\json\gc\gc.json
<dmd>\json\gc\gcalloc.json
<dmd>\json\gc\gcbits.json
<dmd>\json\gc\gcstats.json
<dmd>\json\gc\gcx.json
<dmd>\json\rt\aaA.json
<dmd>\json\rt\aApply.json
<dmd>\json\rt\aApplyR.json
<dmd>\json\rt\adi.json
<dmd>\json\rt\arrayassign.json
<dmd>\json\rt\arraybyte.json
<dmd>\json\rt\arraycast.json
<dmd>\json\rt\arraycat.json
<dmd>\json\rt\arraydouble.json
<dmd>\json\rt\arrayfloat.json
<dmd>\json\rt\arrayint.json
<dmd>\json\rt\arrayreal.json
<dmd>\json\rt\arrayshort.json
<dmd>\json\rt\cast_.json
<dmd>\json\rt\cover.json
<dmd>\json\rt\dmain2.json
<dmd>\json\rt\invariant.json
<dmd>\json\rt\invariant_.json
<dmd>\json\rt\lifetime.json
<dmd>\json\rt\llmath.json
<dmd>\json\rt\memory.json
<dmd>\json\rt\memset.json
<dmd>\json\rt\obj.json
<dmd>\json\rt\qsort.json
<dmd>\json\rt\switch_.json
<dmd>\json\rt\trace.json
<dmd>\json\rt\typeinfo
<dmd>\json\rt\util
<dmd>\json\rt\typeinfo\ti_AC.json
<dmd>\json\rt\typeinfo\ti_Acdouble.json
<dmd>\json\rt\typeinfo\ti_Acfloat.json
<dmd>\json\rt\typeinfo\ti_Acreal.json
<dmd>\json\rt\typeinfo\ti_Adouble.json
<dmd>\json\rt\typeinfo\ti_Afloat.json
<dmd>\json\rt\typeinfo\ti_Ag.json
<dmd>\json\rt\typeinfo\ti_Aint.json
<dmd>\json\rt\typeinfo\ti_Along.json
<dmd>\json\rt\typeinfo\ti_Areal.json
<dmd>\json\rt\typeinfo\ti_Ashort.json
<dmd>\json\rt\typeinfo\ti_byte.json
<dmd>\json\rt\typeinfo\ti_C.json
<dmd>\json\rt\typeinfo\ti_cdouble.json
<dmd>\json\rt\typeinfo\ti_cfloat.json
<dmd>\json\rt\typeinfo\ti_char.json
<dmd>\json\rt\typeinfo\ti_creal.json
<dmd>\json\rt\typeinfo\ti_dchar.json
<dmd>\json\rt\typeinfo\ti_delegate.json
<dmd>\json\rt\typeinfo\ti_double.json
<dmd>\json\rt\typeinfo\ti_float.json
<dmd>\json\rt\typeinfo\ti_idouble.json
<dmd>\json\rt\typeinfo\ti_ifloat.json
<dmd>\json\rt\typeinfo\ti_int.json
<dmd>\json\rt\typeinfo\ti_ireal.json
<dmd>\json\rt\typeinfo\ti_long.json
<dmd>\json\rt\typeinfo\ti_ptr.json
<dmd>\json\rt\typeinfo\ti_real.json
<dmd>\json\rt\typeinfo\ti_short.json
<dmd>\json\rt\typeinfo\ti_ubyte.json
<dmd>\json\rt\typeinfo\ti_uint.json
<dmd>\json\rt\typeinfo\ti_ulong.json
<dmd>\json\rt\typeinfo\ti_ushort.json
<dmd>\json\rt\typeinfo\ti_void.json
<dmd>\json\rt\typeinfo\ti_wchar.json
<dmd>\json\rt\util\console.json
<dmd>\json\rt\util\ctype.json
<dmd>\json\rt\util\hash.json
<dmd>\json\rt\util\string.json
<dmd>\json\rt\util\utf.json
<dmd>\json\std\algorithm.json
<dmd>\json\std\array.json
<dmd>\json\std\atomics.json
<dmd>\json\std\base64.json
<dmd>\json\std\bigint.json
<dmd>\json\std\bind.json
<dmd>\json\std\bitmanip.json
<dmd>\json\std\boxer.json
<dmd>\json\std\c
<dmd>\json\std\compiler.json
<dmd>\json\std\concurrency.json
<dmd>\json\std\contracts.json
<dmd>\json\std\conv.json
<dmd>\json\std\cpuid.json
<dmd>\json\std\cstream.json
<dmd>\json\std\ctype.json
<dmd>\json\std\date.json
<dmd>\json\std\datebase.json
<dmd>\json\std\dateparse.json
<dmd>\json\std\demangle.json
<dmd>\json\std\encoding.json
<dmd>\json\std\file.json
<dmd>\json\std\format.json
<dmd>\json\std\functional.json
<dmd>\json\std\getopt.json
<dmd>\json\std\internal
<dmd>\json\std\iterator.json
<dmd>\json\std\json.json
<dmd>\json\std\loader.json
<dmd>\json\std\math.json
<dmd>\json\std\md5.json
<dmd>\json\std\metastrings.json
<dmd>\json\std\mmfile.json
<dmd>\json\std\numeric.json
<dmd>\json\std\outbuffer.json
<dmd>\json\std\path.json
<dmd>\json\std\perf.json
<dmd>\json\std\process.json
<dmd>\json\std\random.json
<dmd>\json\std\range.json
<dmd>\json\std\regex.json
<dmd>\json\std\regexp.json
<dmd>\json\std\signals.json
<dmd>\json\std\socket.json
<dmd>\json\std\socketstream.json
<dmd>\json\std\stdarg.json
<dmd>\json\std\stdint.json
<dmd>\json\std\stdio.json
<dmd>\json\std\stdiobase.json
<dmd>\json\std\stream.json
<dmd>\json\std\string.json
<dmd>\json\std\system.json
<dmd>\json\std\traits.json
<dmd>\json\std\typecons.json
<dmd>\json\std\typetuple.json
<dmd>\json\std\uni.json
<dmd>\json\std\uri.json
<dmd>\json\std\utf.json
<dmd>\json\std\windows
<dmd>\json\std\xml.json
<dmd>\json\std\zip.json
<dmd>\json\std\__fileinit.json
<dmd>\json\std\c\math.json
<dmd>\json\std\c\process.json
<dmd>\json\std\c\stdarg.json
<dmd>\json\std\c\stddef.json
<dmd>\json\std\c\stdlib.json
<dmd>\json\std\c\string.json
<dmd>\json\std\c\time.json
<dmd>\json\std\c\windows
<dmd>\json\std\c\windows\com.json
<dmd>\json\std\c\windows\stat.json
<dmd>\json\std\c\windows\windows.json
<dmd>\json\std\c\windows\winsock.json
<dmd>\json\std\internal\math
<dmd>\json\std\internal\math\biguintcore.json
<dmd>\json\std\internal\math\biguintnoasm.json
<dmd>\json\std\internal\math\biguintx86.json
<dmd>\json\std\windows\charset.json
<dmd>\json\std\windows\iunknown.json
<dmd>\json\std\windows\registry.json
<dmd>\json\std\windows\syserror.json



More information about the Digitalmars-d mailing list