Skip to main content
23 events
when toggle format what by license comment
Sep 9 at 14:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 2 at 17:07 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 29, 2023 at 4:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 30, 2023 at 21:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 26, 2023 at 16:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 25, 2022 at 9:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 25, 2022 at 19:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 15, 2022 at 19:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 15, 2021 at 11:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 12, 2021 at 18:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 16, 2020 at 22:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 16, 2020 at 23:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Apr 18, 2020 at 0:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 10, 2019 at 1:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 3, 2019 at 10:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 19, 2015 at 8:11 comment added Torenware Networks @Berdir: As for the exception I'm trying to track down: I was calling file_delete() inside a try block which works fine running the app, but not under SimpleTest. Turns out that it's a cache problem: when running under SimpleTest. You die in entity_delete_multiple() when the storage controller cannot find your file objects. What's worse is that the exception handler (probably installed by SimpleTest) call drupal's shutdown code before the exception is even allowed to propagate. Which sucks, royally.
Oct 19, 2015 at 8:00 answer added Torenware Networks timeline score: 0
Oct 19, 2015 at 7:36 comment added Torenware Networks No, it doesn't matter if you use JS/browser or run-test.sh. The problem is that your program is called via drupalGet() and similar, I've just figured out. So unless you pass XDEBUG_SESSION_START as a get parameter to drupalGet() (or drupalPostForm, etc.), your program will be unaware of XDEBUG. So a hack solution is to pass the $options parameter to that. Which I'll write up as an initial answer. If you can figure out a better one, I'd love to hear it.
Oct 19, 2015 at 7:14 comment added Berdir What kind of exceptions? Batch is JS/browser requests, that should definitely still work. A common problem is the amount of parallel requests, PhpStorm for example has a setting that by defaults limits the amount of concurrent debugging sessions to 1. Set that to 5 or so, search for xdebug or so in the settings. One thing that is currently broken is passing the XDEBUG config down to drupalGet() requests.
S Oct 19, 2015 at 6:54 history suggested Nikhil Banait CC BY-SA 3.0
Improved formatting
Oct 19, 2015 at 3:58 review Suggested edits
S Oct 19, 2015 at 6:54
Oct 19, 2015 at 2:05 comment added Torenware Networks It looks like tests are dispatched via the batch/queue mechanism in Drupal; when SimpleTest sets up its batch run, it's calling "putenv('SIMPLETEST_BASE_URL=' . $base_url)", which I'm guessing is where I need to add my XDEBUG_CONFIG magic. Is there hopefully a cleaner way to do this? Like manipulating the URL that handles the batch item?
Oct 19, 2015 at 0:41 history asked Torenware Networks CC BY-SA 3.0