Skip to content

kaminami/DebugReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DebugReport

You can generate more helpful debug log from Spec Debugger.

Supported Smalltalk Version

Pharo Smalltalk 5, 6, 7, 8, 9, 10, 11, 12

Installation

"Pharo 12.x"
Metacello new
    baseline: 'DebugReport';
    repository: 'github://kaminami/DebugReport:v7.0/repository';
    load.

"Pharo 10.x"
Metacello new
    baseline: 'DebugReport';
    repository: 'github://kaminami/DebugReport:v6.0/repository';
    load.
    
"Pharo 9.x"
Metacello new
    baseline: 'DebugReport';
    repository: 'github://kaminami/DebugReport:v5.0/repository';
    load.

"Pharo 8.x"
Metacello new
    baseline: 'DebugReport';
    repository: 'github://kaminami/DebugReport:v4.0/repository';
    load.

"Pharo 7.x"
Metacello new
    baseline: 'DebugReport';
    repository: 'github://kaminami/DebugReport:v3.1/repository';
    load.


"Pharo 5.x, 6.x"
Metacello new
    baseline: 'DebugReport';
    repository: 'github://kaminami/DebugReport:v2.4/repository';
    load.

Local Reporsitory

| pathToPackageDirectory |
"edit to match the path to your chosen package directory"
pathToPackageDirectory := './repository/' asFileReference asAbsolute fullName.
Metacello new
  baseline: 'DebugReport';
  repository: 'filetree://', pathToPackageDirectory;
  load.

Usage

[ 1/0 ] on: Error do: [ :ex | ex outputDebugReport ].

Output Example

See: example/DebugReport-20200501152913.zip

Settings

DRSettings autoOutputMode: false. "default"
DRSettings autoOutputMode: true.

DRSettings useZipOutputter. "default"
DRSettings useFileOutputter.

DRSettings outputDirectoryPath: '.'. "default"
DRSettings outputDirectoryPath: './report'.
DRSettings outputDirectoryPath: '/Users/kaminami/temp/report'.

DRSettings outputLimit: 0. "default unlimited"
DRSettings outputLimit: 10.

Etc

"output current context"
thisContext outputDebugReport.

"output handled context"
[ 1 zork ] on: Exception do: [:ex | ex outputDebugReport ]

About

You can generate more helpful debug log from Notifier or Debugger.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •