- fix: when debug a project, and have breakpoints that not in opened editors, dev-cpp will crash
This commit is contained in:
parent
205860b81f
commit
33099f4044
3
NEWS.md
3
NEWS.md
|
@ -1,3 +1,6 @@
|
||||||
|
Version 0.7.4
|
||||||
|
- fix: when debug a project, and have breakpoints that not in opened editors, dev-cpp will crash
|
||||||
|
|
||||||
Version 0.7.3
|
Version 0.7.3
|
||||||
- enhancement: icons in project view
|
- enhancement: icons in project view
|
||||||
- fix: sometimes option widget will show confirm dialog even not changed
|
- fix: sometimes option widget will show confirm dialog even not changed
|
||||||
|
|
|
@ -3501,7 +3501,7 @@ bool MainWindow::debugInferiorhasBreakpoint()
|
||||||
} else {
|
} else {
|
||||||
for (const PBreakpoint& breakpoint:mDebugger->breakpointModel()->breakpoints()) {
|
for (const PBreakpoint& breakpoint:mDebugger->breakpointModel()->breakpoints()) {
|
||||||
Editor* e1 = mEditorList->getOpenedEditorByFilename(breakpoint->filename);
|
Editor* e1 = mEditorList->getOpenedEditorByFilename(breakpoint->filename);
|
||||||
if (e1->inProject()) {
|
if (e1 && e1->inProject()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,7 @@ UseUTF8 = 0
|
||||||
StaticLink = 1
|
StaticLink = 1
|
||||||
AddCharset = 1
|
AddCharset = 1
|
||||||
Encoding = AUTO
|
Encoding = AUTO
|
||||||
|
CompilerSetType = 0
|
||||||
|
|
||||||
|
|
||||||
[VersionInfo]
|
[VersionInfo]
|
||||||
|
|
Loading…
Reference in New Issue