[Gambas-bugtracker] Bug #1349: BUG: Wrong line number of code when Gambas raise a error message

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jun 15 17:15:44 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1349&from=L21haW4-

Olivier CRUILLES reported a new bug.

Summary
-------

BUG: Wrong line number of code when Gambas raise a error message

Type             : Bug
Priority         : Low
Gambas version   : Master
Product          : Development Environment


Description
-----------

Hello,
It seems that (I don't know from when exactly) the line number indicated in error message is wrong regarding the command in fault.

Example:

=> From the log file of my application

2018-06-15 10:53:01.301 gbAsStatsConsoleBS - Mode=linkusage
2018-06-15 10:53:01.488 gbAsStatsConsoleBS - Main: Null object    Where: WebpageHistory.Affiche_Historique_AS.81

=> Code in the Editor

See screenshot

Olivier


System information
------------------

[System]
Gambas=3.11.90
OperatingSystem=Linux
Kernel=4.4.0-127-generic
Architecture=x86
Distribution=Linux Mint 18.3 Sylvia
Desktop=MATE
Theme=Gtk
Language=fr_CA.UTF-8
Memory=8098M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.803.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=xim
COMPIZ_CONFIG_PROFILE=mate
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-K0VhGei4rh,guid=cf6880d654ad8718c19548fe5b22c622
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
DESKTOP_SESSION=mate
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=mate
GDM_XSERVER_LOCATION=local
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=0
HOME=<home>
LANG=fr_CA.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LIBVIRT_DEFAULT_URI=qemu:///system
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MDMSESSION=mate
MDM_LANG=fr_CA.UTF-8
MDM_XSERVER_LOCATION=local
PAPERSIZE=a4
PATH=<home>/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=<home>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2251,unix/<hostname>:/tmp/.ICE-unix/2251
SHELL=/bin/bash
SSH_AGENT_PID=2355
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=7
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=7799fc85266d4f0d61afdf215179697f-1529005601.771491-1336228839
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c1
XDG_VTNR=7
XMODIFIERS=@im=ibus




More information about the Bugtracker mailing list