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

Tracy in .phar show wrong debug line #254

Closed
Axisweb opened this issue May 3, 2017 · 0 comments
Closed

Tracy in .phar show wrong debug line #254

Axisweb opened this issue May 3, 2017 · 0 comments

Comments

@Axisweb
Copy link

@Axisweb Axisweb commented May 3, 2017

This bug is displayed if Tracy is packed in .phar archive.
Vesion: <=2.4
It doesn't recognize that is in phar and in debugger window create wrong link to source code.

<?php
include 'Tracy/tracy.phar';
use Tracy\Debugger;
$a=Array('12','15');
Debugger::enable(false); 
Debugger::$showLocation = TRUE;
Debugger::barDump($a);
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
	<title></title>
	<meta charset="UTF-8">
</head>
<body>
<p>...</p>	
</body>
</html>

Output:

array (2)
0 => "12" (2)
1 => "15" (2)
in ...\core\include2\Tracy\tracy.phar\Tracy\Debugger.php:2
@dg dg closed this in 863403a May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.