It is because the whole thing is not aware of modules. The macros think you are running the test code without PureUnit because they cannot see the framework procedures and so the macros fall back to a MessageRequester() for the alert.
It needs to be reworked to properly support modules.
Search found 4315 matches
- Wed Oct 01, 2025 9:12 pm
- Forum: Bugs - Windows
- Topic: PureUnit triggers GUI alert on fail
- Replies: 3
- Views: 496
- Tue Sep 30, 2025 9:03 pm
- Forum: Bugs - Linux
- Topic: [Done] PB 6.21 XMLNodePath() giving short path element name
- Replies: 1
- Views: 573
- Sun Sep 14, 2025 9:43 pm
- Forum: Bugs - Windows
- Topic: [Done] PB 6.20 B3 RotateCoordinates not rotating
- Replies: 6
- Views: 4889
- Sun Sep 14, 2025 9:42 pm
- Forum: Bugs - Windows
- Topic: [Done] PB 6.20 B3 PathCursor after RotateCoordinates
- Replies: 2
- Views: 6086
Re: [Done] PB 6.20 B3 PathCursor after RotateCoordinates
Ok, so there is a difference with the other OS:
If you have not done anything with the path yet, coordinate transformations do not affect the start point and it stays at (0, 0)
If you used any path command, the last cursor position is affected by the transformation
I have changed it to work ...
If you have not done anything with the path yet, coordinate transformations do not affect the start point and it stays at (0, 0)
If you used any path command, the last cursor position is affected by the transformation
I have changed it to work ...
- Sun Sep 14, 2025 8:21 pm
- Forum: Bugs - Windows
- Topic: [Done] PB 6.20 B3 PathCursor after RotateCoordinates
- Replies: 2
- Views: 6086
Re: [Done] PB 6.20 B3 PathCursor after RotateCoordinates
This is the expected behavior.
Rotating the coordinate system only affects commands after it. The cursor location remained unchanged by it. However, when you call PathPointX() after, you get the coordinates of the OLD (0, 0) expressed in the new, rotated coordinate system. That is why the result is ...
Rotating the coordinate system only affects commands after it. The cursor location remained unchanged by it. However, when you call PathPointX() after, you get the coordinates of the OLD (0, 0) expressed in the new, rotated coordinate system. That is why the result is ...
- Mon Sep 08, 2025 8:36 pm
- Forum: Off Topic
- Topic: I might finally be getting a promotion!
- Replies: 11
- Views: 1528
I might finally be getting a promotion!
I got contacted by the PureBasic HR Department today. Seems like my day has finally come :lol:
MEMO for all Purebasic Employees
2025 LEAVE AND PROMOTION SCHEDULES FOR ALL THE STAFF OF Purebasic
Dear Freak,
Kindly refer to the below url to find out where your Leave schedules for the current ...
MEMO for all Purebasic Employees
2025 LEAVE AND PROMOTION SCHEDULES FOR ALL THE STAFF OF Purebasic
Dear Freak,
Kindly refer to the below url to find out where your Leave schedules for the current ...
- Tue May 13, 2025 6:08 pm
- Forum: Coding Questions
- Topic: Pseudorandom number with PB internal Random
- Replies: 21
- Views: 2711
Re: Pseudorandom number with PB internal Random
Today I started to afraid, that it will change one day, and my numbers also changes with it.
You can rest easy with this. The Random() and RandomSeed() commands have not changed their behavior since the very early years of PureBasic, even through an entire rewrite of the code and the switch ...
You can rest easy with this. The Random() and RandomSeed() commands have not changed their behavior since the very early years of PureBasic, even through an entire rewrite of the code and the switch ...
- Sat May 03, 2025 11:35 am
- Forum: Coding Questions
- Topic: DisableDebugger: Invalid memory access
- Replies: 4
- Views: 552
Re: DisableDebugger: Invalid memory access
No it can't because you disabled the debugger which is tracking these kinds of things. That is why it shows the last line when the debugger was still on.BarryG wrote: Sat May 03, 2025 11:00 amMaybe this report can be for the actual error line to be highlighted, then.
- Sat Feb 15, 2025 3:03 pm
- Forum: General Discussion
- Topic: Every Day...
- Replies: 6
- Views: 1095
Re: Every Day...
"git branch list" vs "git branch --list"
I am safe from this because I use "-a" instead
I am safe from this because I use "-a" instead

- Wed Aug 14, 2024 4:36 pm
- Forum: Coding Questions
- Topic: [done] Struggle parsing mixed type JSON array
- Replies: 2
- Views: 1369
Re: Struggle parsing mixed type JSON array
ExamineJSONMembers() is the wrong function to use here because it is only for JSON Objects not for Arrays.
What you need is:
JSONArraySize() to find out the size of the array GetJSONElement() to get the individual elements JSONType() to find the type of the element GetJSONInteger() or ...
What you need is:
JSONArraySize() to find out the size of the array GetJSONElement() to get the individual elements JSONType() to find the type of the element GetJSONInteger() or ...
- Tue Jun 25, 2024 4:48 pm
- Forum: Linux
- Topic: Loading steamlib.so in Ubuntu 22, works well in PB IDE, but gives an error when running through the released executable
- Replies: 11
- Views: 3863
- Mon Jun 24, 2024 8:57 pm
- Forum: Linux
- Topic: Loading steamlib.so in Ubuntu 22, works well in PB IDE, but gives an error when running through the released executable
- Replies: 11
- Views: 3863
Re: Loading steamlib.so in Ubuntu 22, works well in PB IDE, but gives an error when running through the released executa
You can try adding the directory with the libraries to the LD_LIBRARY_PATH environment variable before loading the lib. This might help.
The IDE modifies this variable too but it only adds the PB compiler directory to it nothing else so I am not sure if this is what makes the difference.
The IDE modifies this variable too but it only adds the PB compiler directory to it nothing else so I am not sure if this is what makes the difference.
- Thu Jun 20, 2024 12:56 pm
- Forum: Coding Questions
- Topic: SaveJSON()
- Replies: 7
- Views: 1139
Re: SaveJSON()
The file is opened with FILE_SHARE_READ mode only so it cannot be opened for writing at the same time but it can be read.
- Fri Jun 14, 2024 11:23 pm
- Forum: Feature Requests and Wishlists
- Topic: MIT license for all published code out of the forum
- Replies: 34
- Views: 8978
Re: MIT license for all published code out of the forum
The whole point of these public forums is to help other people by answering to a question, so it's pretty obvious than if you post an answer, it can be reused in another program. That said, I can add a text in the 'Terms or Service' link of the forums like stackoverflow: https://stackoverflow.com ...
- Thu Jun 13, 2024 4:03 pm
- Forum: Coding Questions
- Topic: [PB6.11] assembler backend (x86+x64) _DateUTC() bug
- Replies: 5
- Views: 1299
Re: [PB6.11] assembler backend (x86+x64) _DateUTC() bug
There is a native function now: https://www.purebasic.com/documentation ... teutc.html