How to blackbox libraries in the PhpStorm stack when using exception breakpoints The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceHow to make phpstorm display line numbers by default?Codeigniter 2 and codeceptionHandling Laravel HttpException in Unit TestingUsing StepObjects in codeception, error message: [ErrorException] Undefined variable: scenarioPHPUnit working in IDE, but server says class not foundPhpStorm debug mode is not workingPHPUnit Xdebug with PhpStorm Breakpoint is not being triggered unless I disable listening buttonLaravel - “artisan tinker” -> mkdir(): Permission deniedSymfonyComponentDebugExceptionFatalThrowableError : Type errorPhpunit, Laravel 5.5 - fires normally only first test from the list, any working test

What force causes entropy to increase?

Cooking pasta in a water boiler

How does ice melt when immersed in water?

Reference for the teaching of not-self

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Why is the object placed in the middle of the sentence here?

how can a perfect fourth interval be considered either consonant or dissonant?

How to delete random line from file using Unix command?

Hiding Certain Lines on Table

How to split my screen on my Macbook Air?

Do warforged have souls?

Windows 10: How to Lock (not sleep) laptop on lid close?

Sort a list of pairs representing an acyclic, partial automorphism

Why did all the guest students take carriages to the Yule Ball?

Is every episode of "Where are my Pants?" identical?

Difference between "generating set" and free product?

"... to apply for a visa" or "... and applied for a visa"?

Format single node in tikzcd

Are my PIs rude or am I just being too sensitive?

Didn't get enough time to take a Coding Test - what to do now?

Road tyres vs "Street" tyres for charity ride on MTB Tandem

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

How many people can fit inside Mordenkainen's Magnificent Mansion?

Match Roman Numerals



How to blackbox libraries in the PhpStorm stack when using exception breakpoints



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceHow to make phpstorm display line numbers by default?Codeigniter 2 and codeceptionHandling Laravel HttpException in Unit TestingUsing StepObjects in codeception, error message: [ErrorException] Undefined variable: scenarioPHPUnit working in IDE, but server says class not foundPhpStorm debug mode is not workingPHPUnit Xdebug with PhpStorm Breakpoint is not being triggered unless I disable listening buttonLaravel - “artisan tinker” -> mkdir(): Permission deniedSymfonyComponentDebugExceptionFatalThrowableError : Type errorPhpunit, Laravel 5.5 - fires normally only first test from the list, any working test



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I'm running some unit tests, using PHPUnit via Codeception, and when an assert fails, I'd like to focus on the line in my test class where the assertion failed.



Typically I have to copy the classname and line number from the terminal output, and use both PhpStorm's search and then "goto line" to find the place where it stopped. It's quite tiring doing this repeatedly (all day TDD).



I tried enabling "Exception Breakpoints" in PhpStorm, so the IDE stops at the line that throws the exception. This is normally fine, but in this case it's deep in the assert library. I want the IDE to automatically reverse up the stack to MY file and focus my attention there. I can do that manually in the stack frame panel, and it is at the correct line of course, but again it's repetitive and thus tiring.



I know there are blackboxing tools for Xdebug: "Skipped Paths" and "Step Filters > Skipped Paths", but these don't seem to affect the focusing of caught Exceptions.



I optimistically hoped if I blackboxed the PHPUnit library files, the exception halt-point might have to bubble upwards till it found a un-blackboxed file.



e.g.



Test tests/src/Domain/TestSession/TestSessionTest.php:testStart
'2019-03-22 17:05:15' does not match expected type "object".
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:135 << It halts here
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:2060
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:485
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93 << I want it to halt here in MY code
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:1062
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:913
mylib/vendor/phpunit/phpunit/src/Framework/TestResult.php:686
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:868
mylib/vendor/phpunit/phpunit/src/Framework/TestSuite.php:733
mylib/vendor/codeception/phpunit-wrapper/src/Runner.php:110
mylib/vendor/codeception/codeception/src/Codeception/SuiteManager.php:158
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:192
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:159
mylib/vendor/codeception/codeception/src/Codeception/Command/Run.php:384
mylib/vendor/symfony/console/Command/Command.php:255
mylib/vendor/symfony/console/Application.php:953
mylib/vendor/symfony/console/Application.php:248
mylib/vendor/symfony/console/Application.php:148
mylib/vendor/codeception/codeception/src/Codeception/Application.php:108
mylib/vendor/codeception/codeception/codecept:43


I want to be shown this relevant code where the problem lies:



 $this->assertEquals($now, $ts->datetimeStarted);
at
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93


Not this irrelevant code inside the assert machinery:



 throw new PHPUnit_Framework_ExpectationFailedException(
trim($description . "n" . $f->getMessage()),
$f
);
at
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:138


The other oddity is, with Exception Breakpoints on, the IDE doesn't come to foreground focus like it does with normal breakpoints plus the internal focus is in the code panel, not the stack frame panel as usual. So I'm left focused at the external Terminal window (not the inbuilt IDE terminal). If it did focus the IDE window, and focused at the stack panel by default, then I could just press the down arrow three times. I could live with that level of RSI.



MacOS 10.12.6

PhpStorm 2018.3.5










share|improve this question
























  • Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: youtrack.jetbrains.com/issue/WI-43959

    – Eugene Morozov
    Mar 25 at 14:51











  • Thanks Eugene I've voted for it. If you don't do so, I will add an answer to that effect, then hopefully update it in future should it be developed.

    – scipilot
    Mar 25 at 22:16

















1















I'm running some unit tests, using PHPUnit via Codeception, and when an assert fails, I'd like to focus on the line in my test class where the assertion failed.



Typically I have to copy the classname and line number from the terminal output, and use both PhpStorm's search and then "goto line" to find the place where it stopped. It's quite tiring doing this repeatedly (all day TDD).



I tried enabling "Exception Breakpoints" in PhpStorm, so the IDE stops at the line that throws the exception. This is normally fine, but in this case it's deep in the assert library. I want the IDE to automatically reverse up the stack to MY file and focus my attention there. I can do that manually in the stack frame panel, and it is at the correct line of course, but again it's repetitive and thus tiring.



I know there are blackboxing tools for Xdebug: "Skipped Paths" and "Step Filters > Skipped Paths", but these don't seem to affect the focusing of caught Exceptions.



I optimistically hoped if I blackboxed the PHPUnit library files, the exception halt-point might have to bubble upwards till it found a un-blackboxed file.



e.g.



Test tests/src/Domain/TestSession/TestSessionTest.php:testStart
'2019-03-22 17:05:15' does not match expected type "object".
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:135 << It halts here
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:2060
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:485
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93 << I want it to halt here in MY code
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:1062
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:913
mylib/vendor/phpunit/phpunit/src/Framework/TestResult.php:686
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:868
mylib/vendor/phpunit/phpunit/src/Framework/TestSuite.php:733
mylib/vendor/codeception/phpunit-wrapper/src/Runner.php:110
mylib/vendor/codeception/codeception/src/Codeception/SuiteManager.php:158
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:192
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:159
mylib/vendor/codeception/codeception/src/Codeception/Command/Run.php:384
mylib/vendor/symfony/console/Command/Command.php:255
mylib/vendor/symfony/console/Application.php:953
mylib/vendor/symfony/console/Application.php:248
mylib/vendor/symfony/console/Application.php:148
mylib/vendor/codeception/codeception/src/Codeception/Application.php:108
mylib/vendor/codeception/codeception/codecept:43


I want to be shown this relevant code where the problem lies:



 $this->assertEquals($now, $ts->datetimeStarted);
at
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93


Not this irrelevant code inside the assert machinery:



 throw new PHPUnit_Framework_ExpectationFailedException(
trim($description . "n" . $f->getMessage()),
$f
);
at
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:138


The other oddity is, with Exception Breakpoints on, the IDE doesn't come to foreground focus like it does with normal breakpoints plus the internal focus is in the code panel, not the stack frame panel as usual. So I'm left focused at the external Terminal window (not the inbuilt IDE terminal). If it did focus the IDE window, and focused at the stack panel by default, then I could just press the down arrow three times. I could live with that level of RSI.



MacOS 10.12.6

PhpStorm 2018.3.5










share|improve this question
























  • Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: youtrack.jetbrains.com/issue/WI-43959

    – Eugene Morozov
    Mar 25 at 14:51











  • Thanks Eugene I've voted for it. If you don't do so, I will add an answer to that effect, then hopefully update it in future should it be developed.

    – scipilot
    Mar 25 at 22:16













1












1








1


1






I'm running some unit tests, using PHPUnit via Codeception, and when an assert fails, I'd like to focus on the line in my test class where the assertion failed.



Typically I have to copy the classname and line number from the terminal output, and use both PhpStorm's search and then "goto line" to find the place where it stopped. It's quite tiring doing this repeatedly (all day TDD).



I tried enabling "Exception Breakpoints" in PhpStorm, so the IDE stops at the line that throws the exception. This is normally fine, but in this case it's deep in the assert library. I want the IDE to automatically reverse up the stack to MY file and focus my attention there. I can do that manually in the stack frame panel, and it is at the correct line of course, but again it's repetitive and thus tiring.



I know there are blackboxing tools for Xdebug: "Skipped Paths" and "Step Filters > Skipped Paths", but these don't seem to affect the focusing of caught Exceptions.



I optimistically hoped if I blackboxed the PHPUnit library files, the exception halt-point might have to bubble upwards till it found a un-blackboxed file.



e.g.



Test tests/src/Domain/TestSession/TestSessionTest.php:testStart
'2019-03-22 17:05:15' does not match expected type "object".
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:135 << It halts here
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:2060
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:485
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93 << I want it to halt here in MY code
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:1062
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:913
mylib/vendor/phpunit/phpunit/src/Framework/TestResult.php:686
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:868
mylib/vendor/phpunit/phpunit/src/Framework/TestSuite.php:733
mylib/vendor/codeception/phpunit-wrapper/src/Runner.php:110
mylib/vendor/codeception/codeception/src/Codeception/SuiteManager.php:158
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:192
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:159
mylib/vendor/codeception/codeception/src/Codeception/Command/Run.php:384
mylib/vendor/symfony/console/Command/Command.php:255
mylib/vendor/symfony/console/Application.php:953
mylib/vendor/symfony/console/Application.php:248
mylib/vendor/symfony/console/Application.php:148
mylib/vendor/codeception/codeception/src/Codeception/Application.php:108
mylib/vendor/codeception/codeception/codecept:43


I want to be shown this relevant code where the problem lies:



 $this->assertEquals($now, $ts->datetimeStarted);
at
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93


Not this irrelevant code inside the assert machinery:



 throw new PHPUnit_Framework_ExpectationFailedException(
trim($description . "n" . $f->getMessage()),
$f
);
at
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:138


The other oddity is, with Exception Breakpoints on, the IDE doesn't come to foreground focus like it does with normal breakpoints plus the internal focus is in the code panel, not the stack frame panel as usual. So I'm left focused at the external Terminal window (not the inbuilt IDE terminal). If it did focus the IDE window, and focused at the stack panel by default, then I could just press the down arrow three times. I could live with that level of RSI.



MacOS 10.12.6

PhpStorm 2018.3.5










share|improve this question
















I'm running some unit tests, using PHPUnit via Codeception, and when an assert fails, I'd like to focus on the line in my test class where the assertion failed.



Typically I have to copy the classname and line number from the terminal output, and use both PhpStorm's search and then "goto line" to find the place where it stopped. It's quite tiring doing this repeatedly (all day TDD).



I tried enabling "Exception Breakpoints" in PhpStorm, so the IDE stops at the line that throws the exception. This is normally fine, but in this case it's deep in the assert library. I want the IDE to automatically reverse up the stack to MY file and focus my attention there. I can do that manually in the stack frame panel, and it is at the correct line of course, but again it's repetitive and thus tiring.



I know there are blackboxing tools for Xdebug: "Skipped Paths" and "Step Filters > Skipped Paths", but these don't seem to affect the focusing of caught Exceptions.



I optimistically hoped if I blackboxed the PHPUnit library files, the exception halt-point might have to bubble upwards till it found a un-blackboxed file.



e.g.



Test tests/src/Domain/TestSession/TestSessionTest.php:testStart
'2019-03-22 17:05:15' does not match expected type "object".
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:135 << It halts here
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:2060
mylib/vendor/phpunit/phpunit/src/Framework/Assert.php:485
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93 << I want it to halt here in MY code
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:1062
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:913
mylib/vendor/phpunit/phpunit/src/Framework/TestResult.php:686
mylib/vendor/phpunit/phpunit/src/Framework/TestCase.php:868
mylib/vendor/phpunit/phpunit/src/Framework/TestSuite.php:733
mylib/vendor/codeception/phpunit-wrapper/src/Runner.php:110
mylib/vendor/codeception/codeception/src/Codeception/SuiteManager.php:158
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:192
mylib/vendor/codeception/codeception/src/Codeception/Codecept.php:159
mylib/vendor/codeception/codeception/src/Codeception/Command/Run.php:384
mylib/vendor/symfony/console/Command/Command.php:255
mylib/vendor/symfony/console/Application.php:953
mylib/vendor/symfony/console/Application.php:248
mylib/vendor/symfony/console/Application.php:148
mylib/vendor/codeception/codeception/src/Codeception/Application.php:108
mylib/vendor/codeception/codeception/codecept:43


I want to be shown this relevant code where the problem lies:



 $this->assertEquals($now, $ts->datetimeStarted);
at
mylib/tests/src/Domain/TestSession/TestSessionTest.php:93


Not this irrelevant code inside the assert machinery:



 throw new PHPUnit_Framework_ExpectationFailedException(
trim($description . "n" . $f->getMessage()),
$f
);
at
mylib/vendor/phpunit/phpunit/src/Framework/Constraint/IsEqual.php:138


The other oddity is, with Exception Breakpoints on, the IDE doesn't come to foreground focus like it does with normal breakpoints plus the internal focus is in the code panel, not the stack frame panel as usual. So I'm left focused at the external Terminal window (not the inbuilt IDE terminal). If it did focus the IDE window, and focused at the stack panel by default, then I could just press the down arrow three times. I could live with that level of RSI.



MacOS 10.12.6

PhpStorm 2018.3.5







php phpstorm xdebug






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 at 15:12









LazyOne

110k21246267




110k21246267










asked Mar 22 at 6:44









scipilotscipilot

3,08012139




3,08012139












  • Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: youtrack.jetbrains.com/issue/WI-43959

    – Eugene Morozov
    Mar 25 at 14:51











  • Thanks Eugene I've voted for it. If you don't do so, I will add an answer to that effect, then hopefully update it in future should it be developed.

    – scipilot
    Mar 25 at 22:16

















  • Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: youtrack.jetbrains.com/issue/WI-43959

    – Eugene Morozov
    Mar 25 at 14:51











  • Thanks Eugene I've voted for it. If you don't do so, I will add an answer to that effect, then hopefully update it in future should it be developed.

    – scipilot
    Mar 25 at 22:16
















Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: youtrack.jetbrains.com/issue/WI-43959

– Eugene Morozov
Mar 25 at 14:51





Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: youtrack.jetbrains.com/issue/WI-43959

– Eugene Morozov
Mar 25 at 14:51













Thanks Eugene I've voted for it. If you don't do so, I will add an answer to that effect, then hopefully update it in future should it be developed.

– scipilot
Mar 25 at 22:16





Thanks Eugene I've voted for it. If you don't do so, I will add an answer to that effect, then hopefully update it in future should it be developed.

– scipilot
Mar 25 at 22:16












2 Answers
2






active

oldest

votes


















1














Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: https://youtrack.jetbrains.com/issue/WI-43959






share|improve this answer






























    0














    I've found a sub-solution to one of my sub-complaints (second paragraph) which reduces the need for a full solution.



    PHPStorm (2018.3) supports file:line format in the search box and so you don't need to use search and then go to line. This is quite a significant time saver.



    So I just have to copy TestSessionTest.php:93 from the middle of the stack trace in the terminal and double-shift, paste it into the IDE. It jumps straight to the line in the file.






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55294209%2fhow-to-blackbox-libraries-in-the-phpstorm-stack-when-using-exception-breakpoints%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: https://youtrack.jetbrains.com/issue/WI-43959






      share|improve this answer



























        1














        Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: https://youtrack.jetbrains.com/issue/WI-43959






        share|improve this answer

























          1












          1








          1







          Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: https://youtrack.jetbrains.com/issue/WI-43959






          share|improve this answer













          Step filters are for stepping through the program, it doesn't affect breakpoints. Here's a request for the skipped paths to support exception breakpoints: https://youtrack.jetbrains.com/issue/WI-43959







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 27 at 11:33









          Eugene MorozovEugene Morozov

          1,14418




          1,14418























              0














              I've found a sub-solution to one of my sub-complaints (second paragraph) which reduces the need for a full solution.



              PHPStorm (2018.3) supports file:line format in the search box and so you don't need to use search and then go to line. This is quite a significant time saver.



              So I just have to copy TestSessionTest.php:93 from the middle of the stack trace in the terminal and double-shift, paste it into the IDE. It jumps straight to the line in the file.






              share|improve this answer



























                0














                I've found a sub-solution to one of my sub-complaints (second paragraph) which reduces the need for a full solution.



                PHPStorm (2018.3) supports file:line format in the search box and so you don't need to use search and then go to line. This is quite a significant time saver.



                So I just have to copy TestSessionTest.php:93 from the middle of the stack trace in the terminal and double-shift, paste it into the IDE. It jumps straight to the line in the file.






                share|improve this answer

























                  0












                  0








                  0







                  I've found a sub-solution to one of my sub-complaints (second paragraph) which reduces the need for a full solution.



                  PHPStorm (2018.3) supports file:line format in the search box and so you don't need to use search and then go to line. This is quite a significant time saver.



                  So I just have to copy TestSessionTest.php:93 from the middle of the stack trace in the terminal and double-shift, paste it into the IDE. It jumps straight to the line in the file.






                  share|improve this answer













                  I've found a sub-solution to one of my sub-complaints (second paragraph) which reduces the need for a full solution.



                  PHPStorm (2018.3) supports file:line format in the search box and so you don't need to use search and then go to line. This is quite a significant time saver.



                  So I just have to copy TestSessionTest.php:93 from the middle of the stack trace in the terminal and double-shift, paste it into the IDE. It jumps straight to the line in the file.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 29 at 4:55









                  scipilotscipilot

                  3,08012139




                  3,08012139



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55294209%2fhow-to-blackbox-libraries-in-the-phpstorm-stack-when-using-exception-breakpoints%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                      Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                      Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript