Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 415993

Summary: Block comments before a class definition will make the debugger unable to resolve external classes in the Expressions Evaluator
Product: [Eclipse Project] JDT Reporter: Yee Chien Tang <tangx246>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie, tangx246
Version: 3.8.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Screenshot fully describes the problem and how to reproduce it none

Description Yee Chien Tang CLA 2013-08-27 17:19:01 EDT
Created attachment 234822 [details]
Screenshot fully describes the problem and how to reproduce it

A block comment (with /* */, and not /** */) before a class definition and after the import statements will prevent the debugger from being able to resolve imported classes from another project.

The attached screenshot contains all the details on how to reproduce this error. Note that under Expressions, when we attempt to call bar.hello(), bar cannot be resolved. bar is resolved correctly when the block comment right before "public class Test" is removed.
Comment 1 Michael Rennie CLA 2013-09-11 10:44:37 EDT
Dupe of bug 329294

*** This bug has been marked as a duplicate of bug 329294 ***