Version: current

# Class DebugView

A basic HTML wrapper for stylish rendering of a developement info view. Used to output error messages, and test results.

### Direct known subclasses

`CliDebugView`

Package: sapphire\dev
Located at sapphire/dev/DebugView.php

## Methods summary

`public string` | # `Breadcrumbs( )` Generate breadcrumb links to the URL path being displayed Generate breadcrumb links to the URL path being displayed #### Returns `string` string
`public` | # `writeHeader( )` Render HTML header for development views Render HTML header for development views
`public` | # `writeInfo( string $title, string $subtitle, mixed $description = false )` Render the information header for the view Render the information header for the view #### Parameters $title string $title $subtitle string $title $description
`public` | # `writeFooter( )` Render HTML footer for development views Render HTML footer for development views
`public` | # `writeError( mixed $httpRequest, mixed $errno, mixed $errstr, mixed $errfile, mixed $errline, mixed $errcontext )` Write information about the error to the screen Write information about the error to the screen
`public` | # `writeSourceFragment( mixed $lines, mixed $errline )` Write a fragment of the a source file Write a fragment of the a source file #### Parameters $lines $lines An array of file lines; the keys should be the original line numbers $errline
`public` | # `writeTrace( mixed $trace )` Write a backtrace Write a backtrace
`public` | # `writeParagraph( string $text )` #### Parameters $text string $text

### Magic methods summary

## Properties summary

`protected static array` | $error_types | #

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -