This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | conditional breakpoint broken with method breakpoint on parameter condition when compiled without debugger info - even though debugger knows parameter value | ||
---|---|---|---|
Product: | debugger | Reporter: | emiddio <emiddio> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
emiddio
2015-10-30 18:30:00 UTC
conditional breakpoint broken with method breakpoint and method parameter condition when compiled without debugger info - even though debugger knows parameter value breakpoint set on java.io.File. conditional breakpoint condition is, pathname.contains("persistence.xml") variables pane says Variable information not available, source compiled without -g option. And variables pane shows pathname as opt/app/d3fnc1c1/jdk1.8.0_51/jre/lib/rt.jar", and allows examining 'this' Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\gbello\AppData\Roaming\NetBeans\8.0.2 Cache directory: C:\Users\gbello\AppData\Local\NetBeans\Cache\8.0.2 16GByte ram. The "pathname" in the conditional expression is a parameter of the method, right? In this case, we'd have to retrieve the names of the method arguments from the source code. why would you have to retrieve the name from source code? It is provided in the conditional expression. Also how does the debugger know the value since it shows it? It it can show it why can it not use it in a conditional expression ? |