|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Problem with custom 32-bit compilers
Problem with custom 32-bit compilers [message #58509] |
Sat, 04 June 2022 15:49 |
neo_in_matrix
Messages: 24 Registered: May 2022
|
Promising Member |
|
|
After experimenting with TheIDE for a few days, I found a few quite annoying small problems (though in general it's great).
It does not work well with 32-bit compilers other than the bundled/builtin CLANG 32-bit one. I have various small problems. Here are some of the most prominent:
* It does not build a package with WINOWS RC file if use a 32-bit compiler other than the bundled 32-bit CLANG.
* Debugging experience (32-bit) is aweful - it soemtimes works sometimes it does not. When I hit F5 to start debugging, there is a dark purple-ish tooltip quickly appeared and disappeared at the right bottom corner of TheIDE main window, something like "There is no symbolic information". However, if I manually start "gdb program.exe", gdb states there it loads debugging information correctly and I can set breakpoints as I want.
* For the following simple program:
#include <iostream>
using namespace std;
int main(int argc, const char *argv[])
{
for (int i = 0; i < argc; i++)
cout << i << ":" << argv[i] << endl;
return 0;
}
If I set breakpoint on the "for" loop line, the debugger won't break. However, it correctly breaks if I set breakpoint at the "return 0" line.
Note - I am on Windows platform (Windows 8 Pro). I have the following compilers (build methods) configured:
MinGW gcc 8.1.0
MSYS2 gcc version 12.1.0
Winlibs gcc version 11.3.0
EDIT:
TheIDE won't stop at the breakpoint, even though the log shows gdb correctly sets breakpiont.
----- SQLite ( MAIN GCC DEBUG DEBUG_FULL WIN32 )
cd C:\Build\test\upp\purec\SQLite
C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\SQLite.exe (2328229 B) is up to date.
OK. (0:00.04)
gdb C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\SQLite.exe
Command: set prompt <u++dbg-q98klwr835f427>
GNU gdb (GDB for MinGW-W64 i686, built by Brecht Sanders) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\SQLite.exe...
(gdb)
Time of `set prompt <u++dbg-q98klwr835f427>` 118.128 ms
=========== Result:
GNU gdb (GDB for MinGW-W64 i686, built by Brecht Sanders) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\SQLite.exe...
(gdb)
===================
Command: set disassembly-flavor intel
Time of `set disassembly-flavor intel` 7.246 ms
=========== Result:
===================
Command: set exec-done-display off
Time of `set exec-done-display off` 5.9 ms
=========== Result:
===================
Command: set annotate 1
Time of `set annotate 1` 8.968 ms
=========== Result:
===================
Command: set height 0
Time of `set height 0` 8.578 ms
=========== Result:
===================
Command: set width 0
Time of `set width 0` 8.066 ms
=========== Result:
===================
Command: set confirm off
Time of `set confirm off` 8.447 ms
=========== Result:
===================
Command: set print asm-demangle
Time of `set print asm-demangle` 8.582 ms
=========== Result:
===================
Command: set print static-members off
Time of `set print static-members off` 8.79 ms
=========== Result:
===================
Command: set print vtbl off
Time of `set print vtbl off` 8.238 ms
=========== Result:
===================
Command: set print repeat 0
Time of `set print repeat 0` 8.915 ms
=========== Result:
===================
Command: set print null-stop
Time of `set print null-stop` 8.335 ms
=========== Result:
===================
Command: set new-console on
Time of `set new-console on` 8.521 ms
=========== Result:
===================
Fast Command: b C:/Build/test/upp/purec/SQLite/shell.c:22936
Breakpoint 1 at 0x42b435: file C:\Build\test\upp\purec\SQLite\shell.c, line 22936.
Result: Breakpoint 1 at 0x42b435: file C:\Build\test\upp\purec\SQLite\shell.c, line 22936.
Command: start
Temporary breakpoint 2 at 0x42b435: file C:\Build\test\upp\purec\SQLite\shell.c, line 22936.
Starting program: C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\SQLite.exe
Breakpoint 1, main (argc=1, argv=0x1320dc0) at C:\Build\test\upp\purec\SQLite\shell.c:22936
C:\Build\test\upp\purec\SQLite\shell.c:22936:705962:beg:0x139b435
Time of `start` 187.488 ms
=========== Result:
Temporary breakpoint 2 at 0x42b435: file C:\Build\test\upp\purec\SQLite\shell.c, line 22936.
Starting program: C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\SQLite.exe
Breakpoint 1, main (argc=1, argv=0x1320dc0) at C:\Build\test\upp\purec\SQLite\shell.c:22936
C:\Build\test\upp\purec\SQLite\shell.c:22936:705962:beg:0x139b435
===================
Command: info inferior
Num Description Connection Executable
* 1 process 4956 1 (native) C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\
SQLite.exe
Time of `info inferior` 15.824 ms
=========== Result:
Num Description Connection Executable
* 1 process 4956 1 (native) C:\Build\test\upp\purec\out\purec\winlibs32.Debug.Debug_Full.Noblitz\
SQLite.exe
===================
Command: continue
Continuing.
[Inferior 1 (process 4956) exited normally]
Time of `continue` 1.353936 s
=========== Result:
Continuing.
[Inferior 1 (process 4956) exited normally]
===================
Fast Command: frame
No stack.
Result: No stack.
[Updated on: Thu, 09 June 2022 05:21] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Nov 01 01:15:05 CET 2024
Total time taken to generate the page: 0.02688 seconds
|
|
|