I have tried various ways to change to Error.stackTraceLimit in chrome.
It defaults to 10, I would like say 100.
All the docs, and SO says this should work.
Did something change recently? I seem to remember this working a few years ago.
This is what I have tried:
Setting Error.stackTrackLimit = 20 in the console
Setting it in head and body of the page in a JS script
setting it via the stack-trace-limit js flag
In the first 2 cases the value does change (i.e. it reads back out the same)
In the third case it does not seem to change anything
Related
I’m creating custom functions in Google Sheets using their google apps script language. I’ve done my development on a laptop and it seems to work correctly.
However, when I open the sheet on my mobile device (iOS), the cell output for my custom functions get stuck at “Loading…” forever and never load. But I discovered this weird workaround, but I don’t know why it works or if there’s a better way: if I make a small, trivial change to one of the input cells, then close the sheet and reopen, the sheet will be correctly updated.
Note that if I just make a change to a cell, or add/delete a column etc, without closing and reopening, to force an update, it will still get stuck at “Loading…”.
Also note that if I close and reopen the sheet without making any change, it will still get stuck.
Any ideas of what’s going on here, and if there’s a better way to get my custom functions to correctly update without timing out?
I searched online for solutions, couldn’t find anything.
Update: Example sheet located at this link:
https://docs.google.com/spreadsheets/d/12nm9EwuzqaN0jYUv75CquMhrcUGlVsmEPFoWd92yuWo/edit
Look at the “SeasonTest” tab, cell AS5. On a mobile device it always shows “Loading…” (unless the above workaround is used), but works fine on a desktop
Currently for my back button I'm using window.history.back() which, in itself is working properly. My issue is with an iframe that I have for refreshing sessions, example
<iframe src="https://example.com/some/path?gcp-iap-mode=SESSION_REFRESHER" style="width:0;height:0;border:0; border:none;"></iframe>
Path in my project represents current url, so it keeps changing every time I change locations. Now, with the source the iframe has, it keeps throwing 404 and getting into my history so instead of clicking back button once, I have to do it at least two times - first times it fails as it tries to reach randompath?gcp-iap-mode=SESSION_REFRESHER and then it goes to proper path.
My question is, is there a way for me to check the "back" value, to see if the "back" value has a specific query (for example gcp-iap-mode part), or check if it's the same as a current location (duplicate) so I can skip that entry (and couple of back steps) and go back to a different path in history stack?
Seems an issue like this is common in iframes. I tried looking at it from a wrong perspective, by looking for ways to change history where the only thing that needed to be changed is the iframe itself.
Basically when we only change the src attribute of the iframe it gets rendered again and again and the src gets pushed to history stack. What we needed here was the iframe to unmount and the soultion to all of that was pretty simple - add a key prop to the iframe.
This is a blog page that helped me, so if somebody wants to read more:
https://www.aleksandrhovhannisyan.com/blog/react-iframes-back-navigation-bug/
I came across a bug where IE11 decides to put a 'placeholder' on a mandatory select if the model's variable value doesn't exist.
Say select value = vm.model.name and it doesn't exist just yet because it hasn't been selected, IE11 would put first option of that select as a 'placeholder'.
This is an example of what I mean: https://angular-select-ie-bug.stackblitz.io/
Try running it in IE11 (issue doesn't exist in IE10) and compare it to Chrome for example.
This tricks you into thinking you've got an option selected automatically for you whereas model value still doesn't exist... It's just this pointless placeholder.
I've found out in this thread: https://github.com/angular/angular/issues/14505
that the guy fixed it in his pull request but it's still pending.
My question is whether there's a way to implement his solution to my angular library before his pull request is merged? I want to be able to use that change.
Or maybe there's a better solution where I don't have to add a blank option at the top of my list to fix it.
I'm trying to get a DPL template to offset using a parameter in the URL, as described throughout "semeb. com/ dpldemo/ index. php?title=DPL:Manual" (remove spaces; I couldn't add in the link properly) and it is working. Well, when I say working, it works for the first offset after publishing the template page, but then stops updating after that. How can I make the DPL list update each time a new offset parameter is set in the URL rather than just staying at the same initial offset? See live examples here and here.
I found the problem. It was because the cache had been enabled by default to lessen the loads on the servers, but meant that the offset was being cached along with everything else. Removing the cache fixed the problem, although introduced the new problem of not having results cached. But that's a problem for another day.
I am trying to show a "check" or "X" image inside a tablix cell based on a Condition. I have added both Images to the image Folder and am setting the BackGroundImage Value property to this expression...
=IIF(Fields!PASS.Value = 1,"CheckMark","XMark")
I've also set Background Repeat to Clip. Inside Preview view it looks fine, but when pushing the rdl to the server and running the report locally, the image continues to repeat to fill the textbox.
I am running IE8 and SSRS 2008. Is there a better approach in doing this without setting Background Image property, realistically I'd like to just set the TextBox value property.
I found that I was only getting the repeating Background image 'feature' despite having BackgroundRepeat set to 'Clip' when using an image encoded in a database field or where the name of the embeded image was coming from the database i.e. where Value was set to an Expression.
What I found worked was to set BackgroundRepeat to the Expression ="Clip".
Note that I'm working in 2013/2014 RDL/RDLC but it seems to be the same issue.
One alternative would be to use the show/hide parameter in the text box to control which of the images gets hidden. I'm not sure if this would solve your not repeating option, but it is something you can try. You would set both images to show in each box and write a conditional formula (the inverse of your formula above, pretty much) to hide an image based on value. I'm not sure if that would mess up the alignment for you though, unless you can place the two images on top of eachother since only 1 should show anyway.
It seems that you are not alone with this issue, as there are several other posts about it going back as far as 2010 when I google it. The last status I saw was that it was submitted as a bug to Microsoft, and it seems all of the users had to find workarounds.
I was having the same problem. I found by setting the MIMEtype and setting BackgroundRepeat to Clip fixed the issue.