View Issue Details

IDProjectCategoryView StatusLast Update
0000942XdebugUncategorizedpublic2020-03-12 17:01
ReporterkAlvaroAssigned Toderick 
Status acknowledgedResolutionopen 
Product Version2.1.3 
Target VersionFixed in Version 
Summary0000942: Strack traces can be unreadable due to missing foreground colour
DescriptionStrack traces set background colours but not foreground colours. That often makes the text barely unreadable, depending on what colours are set in the site's CSS.
Steps To Reproduce<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<style type="text/css"><!--
    color: #FF8204;
    background-color: black;

<h1>Unreadable stack trace</h1>


ini_set('display_errors', true);


TagsNo tags attached.
Operating System
PHP Version5.3.6



2013-04-14 09:03



2013-05-18 21:33

administrator   ~0002474

Is there any reason why you can't set specific CSS classes on "xdebug-error"? All xdebug output has that.


2013-05-22 15:11

reporter   ~0002487

Sorry, I'm not sure whether you're stating that there's no need to fix the issue or just proposing a workaround.

Of course, CSS allows to write custom code to override the default styles provided by Xdebug—I didn't mention this workaround because I assumed I was obvious.

Other than that, if I'm supposed to style the stack traces myself I'd prefer to obtain bare HTML from Xdebug so I'm not forced to write CSS just to undo hard-coded styles. But I'd expect Xdebug to be a self-complete tool that allows standalone usage out of the box. It's great if further tweaking is allowed, but it shouldn't be mandatory. If built-in styles are provided, shouldn't they "just work"?

Issue History

Date Modified Username Field Change
2013-04-14 09:03 kAlvaro New Issue
2013-04-14 09:03 kAlvaro File Added: Xdebug - Unreadable stack trace screenshot.png
2013-05-18 21:33 derick Note Added: 0002474
2013-05-18 21:33 derick Assigned To => derick
2013-05-18 21:33 derick Status new => feedback
2013-05-22 15:11 kAlvaro Note Added: 0002487
2013-05-22 15:11 kAlvaro Status feedback => assigned
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2016-11-28 18:38 derick Category Usage problems (Wrong Results) => Feature/Change request
2016-11-28 18:38 derick Status assigned => acknowledged
2020-03-12 16:55 derick Severity minor => feature
2020-03-12 17:01 derick Category Feature/Change request => Uncategorized