mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
When we hit an exception, pass the line number of the top-of-stack
* This allows us to update the current line highlight before stopping.
This commit is contained in:
@@ -190,7 +190,7 @@ int main(int argc, char *argv[])
|
||||
py.ctx().setGlobal("pyrenderdoc", (ICaptureContext *)&ctx);
|
||||
|
||||
QObject::connect(&py.ctx(), &PythonContext::exception,
|
||||
[](const QString &type, const QString &value, QList<QString> frames) {
|
||||
[](const QString &type, const QString &value, int, QList<QString> frames) {
|
||||
|
||||
QString exString;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user