Skip to content
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

Strace #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

roblevintennis
Copy link

Reissuing stack trace pull request from proper topic branch.

Rob Levin added 2 commits November 24, 2012 17:32
… in your php error_log. Tried to follow idioms seen in previous snippets.
@roblevintennis
Copy link
Author

Note closed previous pull request as I needed to move this over to a topic branch on my remote once I added another pull request...

I work on a quite large legacy application and I usually have to do some "software archaeology" to figure out the code's execution path. Besides grep, ack, ctags, etc., I find it useful to purposely print a stack trace at a place I know eventually gets executed, then simply open up the files in the stack dump. This snippet adds that capabilities using the snippet as such:
php-stack-track (although as you know, the dropdown will appear right away). There's a prompt for one "grep'able" token in case you have a busy php log.

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.

1 participant