Unexpected output: Affected paths: relative - resubmit patch.
⚙ D73 INP-1433 - Handle resource type in Debugger
Page MenuHomeIn-Portal Phabricator

INP-1433 - Handle resource type in Debugger
ClosedPublic

Authored by alex on May 8 2015, 8:09 AM.

Details

Test Plan

Used test code:

$f = fopen(FULL_PATH . '/system/config.php', 'r');
test($f);

function test($file)
{
	throw new RuntimeException('Test');
}

Test Plan

  1. Configure debugger to be enabled
  2. Modify index php. Add test code after $application->Init();
  3. Open some front-end page
  4. Confirm that RuntimeException: Test error message is shown in debugger
  5. Click on Function link it the backtrace block before error message
  6. Confirm, that value of resource type parameter is displayed correctly, like Resource id #n, where n is some integer value

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint WarningsExcuse: Doing this to be consistent with with other `case` statements in this `switch`. Will fix later.
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 177.May 8 2015, 8:09 AM
alex retitled this revision from to INP-1433 - Handle resource type in Debugger.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1433.
glebs accepted this revision.May 26 2015, 4:07 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.May 26 2015, 4:07 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 6:11 AM
alex added a project: Restricted Project.
erik edited the test plan for this revision. (Show Details)Dec 22 2016, 4:44 AM