org.mozilla.javascript.debug.DebugFrame Java Examples

The following examples show how to use org.mozilla.javascript.debug.DebugFrame. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JsDebugger.java    From birt with Eclipse Public License 1.0 6 votes vote down vote up
public DebugFrame getFrame( Context arg0, DebuggableScript arg1 )
{
	if ( disposed )
	{
		return null;
	}

	JsFunctionSource src = (JsFunctionSource) scripts.get( arg1 );

	if ( src == null )
	{
		// this is not debuggable
		return null;
	}

	System.out.println( ">>>> Frame Source Name: " + src.getSourceName( ) ); //$NON-NLS-1$
	System.out.println( ">>>> Frame Function Name: " + src.getFunctionName( ) ); //$NON-NLS-1$

	return new JsDebugFrame( arg0, this, arg1, src );
}
 
Example #2
Source File: JsDebug.java    From JsDroidCmd with Mozilla Public License 2.0 4 votes vote down vote up
@Override
public DebugFrame getFrame(Context cx, DebuggableScript fnOrScript) {

	return debugFrame;
}
 
Example #3
Source File: ObservingDebugger.java    From PHONK with GNU General Public License v3.0 4 votes vote down vote up
public DebugFrame getFrame(Context cx, DebuggableScript fnOrScript) {
    if (debugFrame == null) {
        debugFrame = new ObservingDebugFrame(isDisconnected);
    }
    return debugFrame;
}
 
Example #4
Source File: JsUtil.java    From birt with Eclipse Public License 1.0 4 votes vote down vote up
public DebugFrame getFrame( Context arg0, DebuggableScript arg1 )
{
	return null;
}