View Issue Details

IDProjectCategoryView StatusLast Update
0001707XdebugStep Debuggingpublic2019-12-08 11:22
Reportermanzwebdesigns Assigned Toderick  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
OSWindowsOS Version10 (1903) 
Product Version2.8.0beta2 
Summary0001707: Symfony server crashes on click during debug session
Description

I am using PHPStorm 2019.2.3 as my IDE and the Symfony webserver. When I am debugging and try to hightlight some code to evaluate, the server crashes (see attached screenshot). This happens everytime... as soon as I click the code, the server dies.

TagsPHPStorm, Symfony
Attached Files
Capture.PNG (62,997 bytes)   
Capture.PNG (62,997 bytes)   
Operating SystemWindows 10
PHP Version7.3.5-7.3.9

Relationships

duplicate of 0001708 closedderick Xdebug crashes on evaluating object with properties 

Activities

cgsmith

2019-10-02 12:16

reporter   ~0005159

Hi @manzwebdesigns,

This was reported yesterday by Svetlana https://bugs.xdebug.org/view.php?id=1708

https://youtrack.jetbrains.com/issue/WI-48177

--
Chris

cgsmith

2019-10-02 12:19

reporter   ~0005160

Note: see the PHPStorm issue for a work around.

manzwebdesigns

2019-10-02 12:28

reporter   ~0005161

Yeah, I saw that. It is very similar, I think... I did notice this morning that my issue also happens on hover instead of on click... and then only on objects. For example, on Svetlana's issue [https://bugs.xdebug.org/view.php?id=1708], it looks like it is happening on an object just like mine.

$nextHymn = $repo->findNextHymn( $hymn->getTitle(), $hymn->getTypeId() ) ?? $repo->findFirstHymn( $hymn->getTypeId() );

functions used...

/**
     * @param string $currTitle
     * @param int $currTypeID
     *
     * @return Hymns|null
     * @throws NonUniqueResultException
     */
    public function findNextHymn( $currTitle, $currTypeID ): ?Hymns {
        return $this->createQueryBuilder( 'h' )
                   ->andWhere( 'h.typeId = :tid' )
                   ->andWhere( 'h.title > :title' )
                   ->setParameter( 'tid', $currTypeID )
                   ->setParameter( 'title', $currTitle )
                   ->orderBy( 'h.title', 'ASC' )
                   ->getQuery()
                   ->setMaxResults( 1 )
                   ->getOneOrNullResult();
    }

    /**
     * @param int $currTypeID
     *
     * @return Hymns
     * @throws NonUniqueResultException
     */
    public function findFirstHymn( $currTypeID ): Hymns {
        return $this->createQueryBuilder( 'h' )
                    ->andWhere( 'h.typeId = :tid' )
                    ->setParameter( 'tid', $currTypeID )
                    ->orderBy( 'h.title', 'ASC' )
                    ->getQuery()
                    ->setMaxResults( 1 )
                    ->getOneOrNullResult();
    }

HTH,
Bud

cgsmith

2019-10-02 12:29

reporter   ~0005162

Oh looks like you actually reported it first... not that it matters. My mistake though.

It is a frustrating issue and hope it is fixed soon!

manzwebdesigns

2019-10-02 12:33

reporter   ~0005163

No problem! My workaround was to step into the function and look at it from there.

derick

2019-10-07 14:30

administrator   ~0005166

I have fixed 0001708 in GitHub (xdebug_2_8 and master branch). That should also address this one. Can you please test that?

derick

2019-12-08 07:34

administrator   ~0005200

Duplicate of 0001708, which should be fixed in Xdebug 2.8.0. I'm closing this as the requested feedback was not received, and I believe this has been addressed.

manzwebdesigns

2019-12-08 11:22

reporter   ~0005202

Sorry about that, Derick, I did test it and you are correct it has been fixed.

Thanks!
Bud

Issue History

Date Modified Username Field Change
2019-10-01 15:24 manzwebdesigns New Issue
2019-10-01 15:24 manzwebdesigns Tag Attached: PHPStorm
2019-10-01 15:24 manzwebdesigns Tag Attached: Symfony
2019-10-01 15:24 manzwebdesigns File Added: Capture.PNG
2019-10-02 12:16 cgsmith Note Added: 0005159
2019-10-02 12:19 cgsmith Note Added: 0005160
2019-10-02 12:28 manzwebdesigns Note Added: 0005161
2019-10-02 12:29 cgsmith Note Added: 0005162
2019-10-02 12:33 manzwebdesigns Note Added: 0005163
2019-10-07 14:30 derick Assigned To => derick
2019-10-07 14:30 derick Status new => feedback
2019-10-07 14:30 derick Note Added: 0005166
2019-12-08 07:34 derick Status feedback => resolved
2019-12-08 07:34 derick Resolution open => duplicate
2019-12-08 07:34 derick Note Added: 0005200
2019-12-08 07:34 derick Relationship added duplicate of 0001708
2019-12-08 11:22 manzwebdesigns Note Added: 0005202
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging