#76385 - Variable display in JSP files gone missing

Martin Entlicher <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
http://www.netbeans.org/issues/show_bug.cgi?id=76385

Description:
While debugging a jsp page, all tooltips above variables shows null 
value. Watches also do not work, all values are null.

Impact assessment i.e. why it is a showstopper?
Impacts basic debugging functionality.

Risk assessment i.e. why is it safe?
The bug was introduced during rewrite of evaluation logic to use 
JavaSourceUtil.Handle to obtain the CompilationController. That works 
only if we have FileObject for the Java source available. When debugging 
JSPs, we do not have the Java source available. Thus the fix is to use 
the old approach in case we do not have the Java source. This means that 
this fix does not affect ordinary Java debugging.

Confirmation of peer code review and QE verification of fix
Code reviewed by Daniel Prusa, fix verified in trunk by Martin Schovanek.

Changeset info (for reviewing diffs)
http://hg.netbeans.org/main/rev/b61763d018b9

Thanks,
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.