Game quits when using ingame :debug tools
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Game quits when using ingame :debug tools
Bug with versions 1.11.13 and 1.11.15 built from source on Ubuntu 14.04. Steps to reproduce:
create/load a SP game
type :debug
type :show_var (without arguments)
Press spacebar to close the empty panel that just appeared
type :inspect
an error dialog pops up. When you close it the game quits and returns to the main menu.
error general: An error due to possibly invalid WML occurred
The error message is :
Image doesn't fit on canvas.
When reporting the bug please include the following error message :
Condition 'static_cast<int>(h) >= 0' failed at /wesnoth-1.11.15/src/gui/auxiliary/canvas.cpp:1119 in function 'draw'. Extra development information: Image 'dialogs/selection-border-left.png', h = -10.
create/load a SP game
type :debug
type :show_var (without arguments)
Press spacebar to close the empty panel that just appeared
type :inspect
an error dialog pops up. When you close it the game quits and returns to the main menu.
error general: An error due to possibly invalid WML occurred
The error message is :
Image doesn't fit on canvas.
When reporting the bug please include the following error message :
Condition 'static_cast<int>(h) >= 0' failed at /wesnoth-1.11.15/src/gui/auxiliary/canvas.cpp:1119 in function 'draw'. Extra development information: Image 'dialogs/selection-border-left.png', h = -10.
Re: Game quits when using ingame :debug tools
I've stopped
:inspect
from creating new variables in c73f236e55b1. This doesn't fix the actual issue (zero-length variable names crashing the inspect dialog) though.