Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
When adding a watch expression during debugging, I get an unsafe eval error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
aguilar.ja...@gmail.com  
View profile  
 More options Apr 28 2012, 9:51 pm
From: aguilar.ja...@gmail.com
Date: Sat, 28 Apr 2012 18:51:43 -0700 (PDT)
Local: Sat, Apr 28 2012 9:51 pm
Subject: When adding a watch expression during debugging, I get an unsafe eval error

Hey guys, I'm debugging a chrome extension I wrote and I'm having some
trouble. I set a breakpoint and it gets hit in the code, then I try to add
a watch expression. When I do, instead of reporting the value of the
expression, I instead get this error:

[Exception: Error: Code generation from strings disallowed for this context]

I'm not actually writing any code in the watch expression, just trying to
evaluate a property of an HTMLDivElement (className). All my searching has
not found a workaround for this, so I'm wondering if I can get some help in
this group.

-- James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yury Semikhatsky  
View profile  
 More options May 2 2012, 4:31 am
From: Yury Semikhatsky <yu...@chromium.org>
Date: Wed, 2 May 2012 12:31:45 +0400
Local: Wed, May 2 2012 4:31 am
Subject: Re: [Chrome DevTools] When adding a watch expression during debugging, I get an unsafe eval error

Hi James,

I tried to reproduce the failure on tip-of-tree Chromium with the attached
extension and it worked fine for me. Can you provide more details on the
scenario where you hit this error? Do you see it only on you extension?

Yury

  content_script.js
< 1K Download

  manifest.json
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »