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.

Bug 254364

Summary: Make console output interactive in "Browser Log" window
Product: javascript Reporter: terje7601
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description terje7601 2015-08-14 09:30:04 UTC
When I log a JavaScript object/function in Firefox, I get something like this:
console.log(Framework, Framework.Api);
undefined
Object { ... } function Api()

Clicking on an object shows a tree-view of its structure. Clicking on a function goes to the declaration in the source.

In NetBeans, logging an object is not really useful currently: you just get an opaque text "[object Object]". Logging a function is better in that it dumps the function definition, but I'd much prefer the Firefox way here as well: it keeps the Browser Log window clean & you can immediately make a change in the function if desired.


Product Version: NetBeans IDE Dev (Build 201508030002)
Updates: Updates available
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)