[ scummvm-Bugs-3030449 ] error() sometimes doesn't show up but ScummVM terminates

SourceForge.net noreply at sourceforge.net
Fri Jul 16 10:40:30 CEST 2010


Bugs item #3030449, was opened at 2010-07-16 10:40
Message generated for change (Tracker Item Submitted) made by m_kiewitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3030449&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GUI
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: M. Kiewitz (m_kiewitz)
Assigned to: Eugene Sandulenko (sev)
Summary: error() sometimes doesn't show up but ScummVM terminates

Initial Comment:
Hi,

we talked about this yesterday on IRC. Sometimes at least for SCI engine, an error() doesn't make the debug console popup, but instead ScummVM terminates.
This is caused by if (debugger && !debugger->isAttached()) in static void defaultErrorHandler(const char *msg) (engines/engine.cpp)

It seems debugger is never detached.
Just put an error() inside reg_t kGraphSaveBox(EngineState *s, int argc, reg_t *argv) of sci engine (sci/engine/kgraphics.cpp), then run almost any game, enter debugger, exit debugger and wait for the error() to occur. At least here ScummVM exits immediately instead of showing the error().

Thank you

Regards
  M. Kiewitz

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3030449&group_id=37116




More information about the Scummvm-tracker mailing list