-
Notifications
You must be signed in to change notification settings - Fork 38
Architectural Overview
The Script Language Editor and Debugger (SLED) comprises three principal elements: a standalone SLED application and two associated libraries. The SLED application is an integrated development environment (IDE) for use with scripting languages. It is built upon the open source Authoring Tools Framework (ATF) developed by Sony.
LibSledDebugger is the library responsible for communication between the target machine and SLED, handling all sending and receiving of plugin messages.
The language-specific plugin contains all debugging functionality specific to the language with which you're using SLED. By creating your own language plugin, you can use SLED with whatever scripting language you choose. The distribution of SLED includes a LibSledLuaPlugin language plugin. LibSledLuaPlugin leverages Lua's built-in debug interface, which provides a way to hook Lua events like function calls, function returns, single-line execution, or execution of every n-th line. Hook functions installed by this plugin monitor these events. Two Lua events of particular interest to the SLED user are: the call-and-return event, which the profiler uses; and, the line event, used in breakpoint testing.
Additionally, the runtime libraries make no dynamic allocations.
© 2014-2015, Sony Computer Entertainment America LLC