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 255943 - Missing "Call Stack" tab in Network Monitor window
Summary: Missing "Call Stack" tab in Network Monitor window
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-15 07:06 UTC by terje7601
Modified: 2016-07-13 01:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
partial fix? (1.74 KB, patch)
2016-05-30 09:26 UTC, Tomas Mysik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-10-15 07:06:07 UTC
Some days ago I filed issue 255891 to be able to filter OPTIONS requests. Now I noticed that, at least for CORS "preflighted requests", the OPTIONS request contains the "Call Stack" tab in its details, while the accompanying actual request doesn't have this tab. This should be fixed & the same call stack should be available in the details of both requests.
Comment 1 Tomas Mysik 2016-05-27 11:16:17 UTC
Could you please attach a sample project and provide exact steps to reproduce so it is clear what you mean exactly?

Simply reopen this issue, thanks.
Comment 2 terje7601 2016-05-27 13:21:56 UTC
(In reply to Tomas Mysik from comment #1)
> Could you please attach a sample project and provide exact steps to
> reproduce so it is clear what you mean exactly?
> 
> Simply reopen this issue, thanks.

The issue is that now the "Call Stack" tab doesn't appear anymore at all. As described in issue 231785, I've tried the Responsive Rabbits sample + Chrome with NetBeans integration, but still I'm not getting any Call Stack tab in the Network Monitor.

So how can I get the "Call Stack" tab to appear?
Comment 3 Tomas Mysik 2016-05-30 05:40:40 UTC
(In reply to terje7601 from comment #2)
> The issue is that now the "Call Stack" tab doesn't appear anymore at all. As
> described in issue 231785, I've tried the Responsive Rabbits sample + Chrome
> with NetBeans integration, but still I'm not getting any Call Stack tab in
> the Network Monitor.

Thanks for the steps, I will have a look at it.
Comment 4 Tomas Mysik 2016-05-30 09:25:40 UTC
It seems to be a change in Chrome; the problem is that there is no "stackTrace" information in the request, only "stack" is present. Martine, could you please have a look at it? I tried to blindly fix it but no idea whether "stack" replaces "stackTrace" - attaching patch, feel free to improve it (it also removes duplicity for checking the key "stackTrace" however, the performace is worse, of course - but does anyone notice? I do not know).

Thanks.
Comment 5 Tomas Mysik 2016-05-30 09:26:11 UTC
Created attachment 159914 [details]
partial fix?
Comment 6 Tomas Mysik 2016-05-30 09:27:04 UTC
I forgot to add that the "stack" information is JSONObject, not a JSONArray.

Thanks.
Comment 7 Martin Entlicher 2016-07-12 07:36:47 UTC
Thanks for the hints Tomas.
It's fixed by changeset:   299156:555ed38e58db
Comment 8 Quality Engineering 2016-07-13 01:49:20 UTC
Integrated into 'main-silver', will be available in build *201607130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/555ed38e58db
User: mentlicher@netbeans.org
Log: #255943: Recognize a new "stack" element.