Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SA Development Suite Plugin
#1
Development plugin to assist developers

Version: 0.6
Compatibility: 3.1
Plugin Type: Fontend / Backend
Description: Custom Debugging suite to assist programmers.

Features
Replacement Debug Console
Pretty output
Frontend Debug Console
Debug console is active regardless of debugmode
Monospaced font for better alignment of logging
Ability to log variable number of arguments, arrays and objects
Outputs variables as traces with the var names included
Ability to run benchmarks for all hooks
Ability to show all renderable hooks on page
Hook for adding your own debug buttons from your plugins
Wrapper compatible

See author website in extend for more details.

Download from Extend
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#2
Great plugin Shawn.

Getting the following on my local build.

Code:
Notice: Undefined index: sa_shf in C:\xampp\htdocs\gs3.1\plugins\sa_development.php on line 56

Notice: Undefined index: sa_shb in C:\xampp\htdocs\gs3.1\plugins\sa_development.php on line 57

Notice: Undefined index: sa_bhf in C:\xampp\htdocs\gs3.1\plugins\sa_development.php on line 58

Notice: Undefined index: sa_bhb in C:\xampp\htdocs\gs3.1\plugins\sa_development.php on line 59
My Github Repos: Github
Website: DigiMute
Reply
#3
n00dles101 Wrote:You should change $thisfile on line 20, and wherever else its used
to something like $thisfile_sa_development

As any other plugin that uses $thisfile for i8ln translations will not work, only just figured this out myself as a plugin i'm developing has the same variable and stops working...

Mike, this is the correct way of using it - (re)setting it and (re)using it.
What you must not do, is using it in any function. But using it in the plugin outside of functions is fine!
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#4
*smiles*

Deleted that post , don't want to confuse anyone.....

Using i8ln for my first plugin, and I copied the way it was done from somewhere.... can't remember where...
and it screwed up for me, so it was me and not you....

Mike...
My Github Repos: Github
Website: DigiMute
Reply
#5
Thanks, fixed those errors and one other thing.

Note , test your plugins with your own error reporting on, the debug_plugin isn't the same as setting the debug config file , since it doesn't enable until the plugin loads. So it wont work for everything that loads before it. Doh. Never thought about it before.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
Working on next release.

Features added so far
  • dump all registered hooks
  • dump php global variables
  • dump php includes
  • dump php extensions
  • dump php constants
  • timestamps
  • basic memory profiling

Any requests?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#7
will be releasing in a bit.


Revisions
v0.3
Made log headers collapsible, log headers are only displayed when logging multiple args and arrays
Added PHP dumping
Added a log footer that displays
Runtime
Peak memory
Available memory
Free / Total disk space
Number of included files
Now detects arrays from default debuglog(), and will prettify them instead of printing "array"


Anyone know of any hooks on login page and filebrowser, I can use to add the debug log to those as well ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#8
I updated extend with version 0.3
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#9
Updated to version 0.4

v0.4
Added memory and elapsed stamps to debug headers
Added error handlers and logging for them
Added fatal error persistence
Added post footer hook error handler

See plugin website for full docs.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#10
Great plugin.

The only problem I see is print_r() does not format correctly in the console.

Code:
debugLog(print_r($str, true));
Reply
#11
Ill check that out.

Of course the point of it is you don't need prrint_r anymore.

debugLog($str);
_debugLog($str);

But also don't want to break white space from the normal function so ill fix it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#12
I must say excellent great help for developers. Thank you for that.
Reply
#13
Hopefully the next version will let you use your own debug functon and have it check for the existance or _debugLog and forward the arguments, right now if you forward it through your own debug function you lose all the traceback information. But i gotta get that working so you can route _debug log calls in your own plugin based on a function exist check and not lose all the useful ness of it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#14
Ok updated to v0.6

Now catches and formats print_r output found in debuglog.

Added wrapper support and put example on website, so you can embed debugging capability into your own plugins permanently.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#15
I started loving this plugin after 10 minutes.
TYPO3 Web development martinterber.com
Reply
#16
Thanks, I haven't worked on it in a while , please give an feedback or suggestions.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#17
important fix for 0.7
http://get-simple.info/extend/plugin/sa-...suite/418/
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)