Skip to content

[Debug] Add symfony_debug_backtrace() and use it when dealing with fatal errors #14159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 3, 2015

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

This takes a subset of #12159 that would be great in 2.7, and uses it to gather back traces of fatal errors when possible.

@nicolas-grekas nicolas-grekas changed the title Fatal backtrace [Debug] Add symfony_debug_backtrace() and use it when dealing with fatal errors Apr 1, 2015
@nicolas-grekas nicolas-grekas force-pushed the fatal-backtrace branch 7 times, most recently from 44ef2cb to 4360139 Compare April 1, 2015 11:25
@nicolas-grekas
Copy link
Member Author

Tests are green for what is related to this PR, ready to merge/vote

@stof
Copy link
Member

stof commented Apr 1, 2015

Regarding the C extension, I still don't know what the strategy is to expose it @fabpot. IIRC, you said you would write a blog post about it a long time ago, but I don't remember seeing it. It would be great to know how we deal with them.

@fabpot
Copy link
Member

fabpot commented Apr 3, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 5cbd9fe into symfony:2.7 Apr 3, 2015
fabpot added a commit that referenced this pull request Apr 3, 2015
…dealing with fatal errors (jpauli, nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[Debug] Add symfony_debug_backtrace() and use it when dealing with fatal errors

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This takes a subset of #12159 that would be great in 2.7, and uses it to gather back traces of fatal errors when possible.

Commits
-------

5cbd9fe [Debug] Updated CHANGELOG
beb88f7 [Debug] Use symfony_debug_backtrace() in FatalErrorException when available
6487b6e [Debug] Add debug extension to the test suite
eacdc62 [Debug] Add symfony_debug_backtrace() that works with fatal errors
@nicolas-grekas nicolas-grekas deleted the fatal-backtrace branch April 3, 2015 15:57
@sstok
Copy link
Contributor

sstok commented Apr 5, 2015

Will there also be a DLL download at some point? (edit. typo)

@nicolas-grekas
Copy link
Member Author

Help from someone familiar with building on Windows would be required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants