Search found 6 matches
- Wed Jun 04, 2025 4:32 pm
- Forum: Linux
- Topic: Debugging question
- Replies: 14
- Views: 3741
Re: Debugging question
Thanks!
- Wed Jun 04, 2025 3:58 pm
- Forum: Linux
- Topic: Debugging question
- Replies: 14
- Views: 3741
Re: Debugging question
I tried running as an executable on Ubuntu 24.10, and get the same result, using the distribution for Ubuntu 24.04.
Compiling and running this program:
OpenConsole()
y=0
x=1/y
With:
~/purebasic/compilers/pbcompilerc -d -o test test.pb
./test
Results in:
[Debugger Error] Fatal arithmetic ...
Compiling and running this program:
OpenConsole()
y=0
x=1/y
With:
~/purebasic/compilers/pbcompilerc -d -o test test.pb
./test
Results in:
[Debugger Error] Fatal arithmetic ...
- Thu May 29, 2025 4:04 pm
- Forum: Linux
- Topic: Debugging question
- Replies: 14
- Views: 3741
Debugging question
I'm trying to debug a crashing application on Linux, and am running into problems. What am I missing?
An example program that will crash is:
y = 0
x = 1/y
I want to create debugging symbols in the binary, so I can debug with gdb. This is a server, so I want it to crash and then automatically ...
An example program that will crash is:
y = 0
x = 1/y
I want to create debugging symbols in the binary, so I can debug with gdb. This is a server, so I want it to crash and then automatically ...
- Sun May 25, 2025 5:48 am
- Forum: Feature Requests and Wishlists
- Topic: EditorGadget reads final lines incorrectly with screen readers
- Replies: 18
- Views: 2475
Re: EditorGadget reads final lines incorrectly with screen readers
PB sends EM_SETTEXTMODE to the control with TM_PLAINTEXT. Put this before the first AddGadgetItem call:
SendMessage_(GadgetID(0), #EM_SETTEXTMODE, #TM_RICHTEXT, 0)
And NVDA reads it correctly again. This sets the mode back to the default.
Maybe NVDA and Narrator weren't designed to handle rich ...
SendMessage_(GadgetID(0), #EM_SETTEXTMODE, #TM_RICHTEXT, 0)
And NVDA reads it correctly again. This sets the mode back to the default.
Maybe NVDA and Narrator weren't designed to handle rich ...
- Mon Feb 11, 2013 5:52 pm
- Forum: Coding Questions
- Topic: 5.0: xml API fails
- Replies: 2
- Views: 658
5.0: xml API fails
This code works fine on 4.61, but not 5.00:
In 5.0 and above, I get: Line 1: XML_ExpatVersion_() is not a function, array, list, map or macro.
PB 5.0 upgraded expat to 2.1.0. Looking at the source for that expat, the function still exists.
Code: Select all
Debug PeekS(XML_ExpatVersion_())
PB 5.0 upgraded expat to 2.1.0. Looking at the source for that expat, the function still exists.
- Sun Jun 17, 2007 9:34 pm
- Forum: Off Topic
- Topic: introducing myself
- Replies: 9
- Views: 1296
introducing myself
Hello. I wanted to introduce myself, and to get a feel for the user community around here. As some people from IRC already know, I'm blind. This means that I use a screen reader to access my computer, and the works. If anyone's interested, ask away; I can answer questions. Also, if interested, I can ...