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 - Make console output interactive in "Browser Log" window
Summary: Make console output interactive in "Browser Log" window
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 09:30 UTC by terje7601
Modified: 2015-08-14 09:50 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)