mkxp/binding-mri
Jonas Kulla 3b7b8657ea MRI: Fix exception message box script name and display script index
Previously, when the script names in the backtrace were in the form
'SectionXXX'/'{XXXX}' (default RMXP behavior), this same name would
be shown in the error message box, whereas RMXP always displays the
actual script name (eg. 'Scene_Map') instead; only with
useScriptNames=true was mkxp's behavior mostly correct.
Fix this by keeping a backtrace format -> actual script name mapping
and always using the script name in the message box.
The script name and line would also be parsed wrongly if the name
contained any colons, fix this by walking the exception string
back to front instead.

Also prepend the script index to the name when useScriptNames=true;
this is invaluable when debugging projects where multiple scripts
carry the same name. The format is 'XXX:Script_Name'.
2014-09-02 17:16:14 +02:00
..
audio-binding.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
binding-mri.cpp MRI: Fix exception message box script name and display script index 2014-09-02 17:16:14 +02:00
binding-types.h Initial commit 2013-09-01 16:27:21 +02:00
binding-util.cpp Merge pull request #57 from cremno/mri-use-rb_type_p-instead-of-rb_type 2014-08-30 03:56:37 +02:00
binding-util.h get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
bitmap-binding.cpp fix Bitmap's object to string conversion 2014-08-31 09:52:04 +02:00
disposable-binding.h Disposable: Emit 'wasDisposed' on destruction, not dispose() 2014-08-16 11:47:07 +02:00
etc-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
filesystem-binding.cpp Merge pull request #57 from cremno/mri-use-rb_type_p-instead-of-rb_type 2014-08-30 03:56:37 +02:00
flashable-binding.h MRI-Binding: Typo in Flashable binding 2014-08-09 21:21:38 +02:00
font-binding.cpp Merge pull request #57 from cremno/mri-use-rb_type_p-instead-of-rb_type 2014-08-30 03:56:37 +02:00
graphics-binding.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
input-binding.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg1.rb.xxd Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg2.rb.xxd Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg3.rb.xxd Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
plane-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
sceneelement-binding.h MRI-Binding: Optimize RB_ARG_END vaarg guard 2013-12-20 11:29:12 +01:00
serializable-binding.h Initial commit 2013-09-01 16:27:21 +02:00
sprite-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
table-binding.cpp use std::max instead of ?: 2014-08-31 11:10:57 +02:00
tilemap-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
tilemapvx-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
viewport-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
viewportelement-binding.h Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
window-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00
windowvx-binding.cpp get rid of INIT_TYPE() / initType() 2014-08-29 21:01:53 +02:00