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
Message from discussion Is there a way to add a breakpoint with the console?
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
 
Angel Vera  
View profile  
 More options Jul 30 2012, 3:13 pm
From: Angel Vera <gun...@gmail.com>
Date: Mon, 30 Jul 2012 15:13:19 -0400
Local: Mon, Jul 30 2012 3:13 pm
Subject: Re: [Chrome DevTools] Re: Is there a way to add a breakpoint with the console?

Still not what I am looking for. I understand people are not that familiar
with this type of function but here is a explanation from firebug:

http://getfirebug.com/wiki/index.php/Command_Line_API#debug.28fn.29

On Mon, Jul 30, 2012 at 2:36 PM, Abraham Williams <4bra...@gmail.com> wrote:
> You can dynamically add breakpoints in the dev tools scripts tab (or
> sources depending on which version of Chrome you are running) by clicking
> on a line number.

> https://developers.google.com/chrome-developer-tools/docs/scripts-bre...

> Abraham
> --
> Abraham Williams | abrah.am | abraham<https://plus.google.com/114233674199568482864>
> + | addvocate.co
> @abraham <https://twitter.com/intent/follow?screen_name=abraham> |
> github.com/abraham | blog.abrah.am
> This email is: [ ] shareable [x] ask first [ ] private.

> On Mon, Jul 30, 2012 at 10:22 AM, <gun...@gmail.com> wrote:

>> Perhaps I missed the most important details, in the body of my post (but
>> I did include it in the title) I want to be able to add breakpoints from
>> the console. Not by adding the keyword "debugger;" but rather to add a
>> breakpoint at runtime. When I load a page and bring up the console, I
>> wonder if it is possible to add a breakpoint doing somehting like:
>>  debug(nameOfFunction);

>> On Friday, July 27, 2012 4:54:58 PM UTC-4, gun...@gmail.com wrote:

>>> In firebug I can do debug(nameOfFunction); and it will add a breakpoint
>>> right the begging of the function. With SpiderMonkey I belive it is taken a
>>> step further i can use the Debugger.Script  object to add breakpoints in a
>>> specific line number of the function. Is there any way possible to do this
>>> in chrome DevTools?


 
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.