Minor fixes to debug output
This commit is contained in:
parent
b6eab191d0
commit
a4868a0e5a
|
@ -88,9 +88,7 @@ bool NGSPICE::LoadNetlist( const string& aNetlist )
|
|||
{
|
||||
char line[1024];
|
||||
ss.getline( line, sizeof(line) );
|
||||
|
||||
lines[n++] = strdup(line);
|
||||
wxLogDebug( "l '%s'\n", line );
|
||||
}
|
||||
|
||||
lines[n] = NULL;
|
||||
|
@ -125,18 +123,18 @@ void NGSPICE::dump()
|
|||
|
||||
for( int i = 0; plots[i]; ++i )
|
||||
{
|
||||
wxLogDebug( "-> plot : %s\n", plots[i] );
|
||||
wxLogDebug( "-> plot : %s", plots[i] );
|
||||
char** vecs = m_ngSpice_AllVecs( plots[i] );
|
||||
|
||||
for( int j = 0; vecs[j]; j++ )
|
||||
{
|
||||
wxLogDebug( " - vector %s\n", vecs[j] );
|
||||
wxLogDebug( " - vector %s", vecs[j] );
|
||||
|
||||
vector_info* vi = m_ngGet_Vec_Info( vecs[j] );
|
||||
|
||||
wxLogDebug( " - v_type %x\n", vi->v_type );
|
||||
wxLogDebug( " - v_flags %x\n", vi->v_flags );
|
||||
wxLogDebug( " - v_length %d\n", vi->v_length );
|
||||
wxLogDebug( " - v_type %x", vi->v_type );
|
||||
wxLogDebug( " - v_flags %x", vi->v_flags );
|
||||
wxLogDebug( " - v_length %d", vi->v_length );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -203,8 +201,6 @@ int NGSPICE::cbSendChar( char* what, int id, void* user )
|
|||
{
|
||||
NGSPICE* sim = reinterpret_cast<NGSPICE*>( user );
|
||||
|
||||
wxLogDebug( "sim %p cr %p\n", sim, sim->m_consoleReporter );
|
||||
|
||||
if( sim->m_consoleReporter )
|
||||
sim->m_consoleReporter->Report( what );
|
||||
|
||||
|
|
|
@ -28,8 +28,6 @@ static SIM_PLOT_PANEL* panel = NULL;
|
|||
|
||||
static int drawPlotFunc( mglGraph* aGraph )
|
||||
{
|
||||
printf( "DrawPlot [%lu traces]!\n", panel->m_traces.size() );
|
||||
|
||||
aGraph->Clf();
|
||||
//aGraph->SetRanges(-10e-3,10e-3,-2,2);
|
||||
aGraph->Axis( "x" );
|
||||
|
|
Loading…
Reference in New Issue