Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
Is there a way to view the YMM and ZMM registers in the watches window? Viewing $xmm0 shows the contents of XMM0 as expected, but $ymm0 and $zmm0 just shows the the text "void" and the type void.

Version          : 20.03-r11983 (on Windows 7 x64)

P.S.: $rflags or $flags also show 2 x void, but $eflags does work.
Basic level logic suggests that if I have been using code blocks for over 10 years, then this has got to be my favorite IDE. However, this is not the case sadly.
In fact, it is one of my least favorite programs that I still use.
Sure, for the most part, it gets the job done, but the moment I start questioning what I like about it I realize that the habit plays the biggest role as to why I am still using it.

Disclaimer: This is not a hate or rage post. However, keep in mind that this is intended as raw constructive criticism. Moreover, I will not be trying too much to decorate my wording so that it "sounds nice" and doesn't accidentally hurt someone's feelings. Also, I apologize for my lack of proficiency in English - this isn't my native language.

Why do I post now?
The reason I decided to post after so many years is simply because I generally do not like doing it. I don't believe there will be any positive effect whatsoever, and I don't have the nerve to engage in pointless arguments. I decided to post now after I read a particular thread, where the development team responded quite unprofessionally. Someone was hate-posting basically, listing potential issues with the program in a not-so-polite and constructive manner. He did raise several good points, but for the rest of his rant, I couldn't particularly share his sentiment.
On the other hand, as the usual response goes: "This has never happened to me".
As a business owner, a desktop software creator, and a senior user I can guarantee you that this is a substantially harmful mindset.
On top of that, it prevents the software from evolving at an optimal pace.
First of all, such a statement means and does nothing. If anything it only implies the lack of acknowledgment that there may be issues.
Now this is not a small software by any means, so the presence of issues is the single most normal thing and the correct attitude is to confront these issues seriously.
If you haven't given up on improving the product that is. Here is an example of what this "It never happened to me" approximately sounds like:
Imagine you go to a fast food restaurant where they ship their products to a vast audience. You want to enjoy a nice cheeseburger, but due to COVID-19, you have dysgeusia and you have a severe intolerance to the taste of onions. At the cash desk, you try to explain that and ask for a version of the cheeseburger without onions, but they reject your request with the words "I don't know, this has never happened to me, so..."
This might very well not be the case, and not how some people from the development team look at such issues, but it does sound as undermining the user-reported complaint nonetheless.
In the slightest, it is a vague statement that does nothing other than attempt to justify the problem.

My issues?
We are talking sudden crashes during nothing else but simple tasks such as writing code, switching between tabs, or opening files from the project.
The unusable code folding feature that for some reason has never been fixed is also something worth mentioning. Not only that it doesn't work correctly, but it also causes me to repeatedly do more work fixing my code visibility. It annoys me so much quite frequently, forcing me to adapt new slow and weird programming practices just to avoid it from breaking.
Another major deter is the never really working autosave. Actually, I don't even know if it doesn't work or if it is just designed that way intentionally, but this is a very basic feature come on.
This feature is.. what is the opposite of intuitive? ...That.
I still don't know how it works and when it works. I've been using hundreds of different purpose programs and I do not recall a single one to behave so irrationally in terms of autosave.
From having to manually save the project structure and configuration to the workspace not being saved at all when I manually save it / create a backup.
From the opened tabs not being preserved to the code folding acting on its own upon restoration.
No setting is able to get the autosave working as it should, which is quite frustrating given the abundance of claims that CB gives you too much control. I don't feel it.
Additionally, the choice of what should be set by default appears to be designed with the ideals of one person rather than agreed upon by the community.
Next - the lack of a Dark Theme which I have to believe has been reported so many times already. Being stuck to program in an environment that causes your monitor to glow more than necessary during the night is ridiculous and puts strain on the eyes. I am well aware that wxWidgets may not support that (even though I don't understand why) but there is at least 3rd party software that inverts the colors of the entire program and surely something like that could have been implemented as a workaround. I mean there is always a hack around each restriction - you are a programmer.

If it concerns me, I do intend to seek alternatives soon. Just not when I am in the middle of a project.
Do I think code blocks is FUBAR-ed? No. But I haven't seen it noticeably get better in the past years and if anything, I started encountering more and more issues on the Windows latest versions.
wxWidgets is quite bad to begin with, so not everything is the developer's fault (well apart from the choice of backends maybe).
If anyone is actually interested in solving problems and provides me with direct means to communicate them (such as Discord) I am only then willing to provide the necessary logs and other technical details the next time the program crashes. However, if I had to predict any kind of response, I'd say I am predominantly expecting someone to just quote the corresponding issues stated and justify them with "It has never happened to me", "This only doesn't work on version X revision X, OS ..., OS version X", "This is too hard to fix", "It is the library's fault", "It is OS's fault", "It is your fault" and so on  ;D
Hello everyone!
Just to preface this for the mods: this is not an ad nor is this a commercial project -- a small team of devs (myself included) has recently finished working on a PHP code security scanner and we are humbly asking for your feedback.
We have already been told that integration with GitHub and GitLab would be great so that's what we have made possible in the last couple of days! Also, it would be great if you guys tested bits of code cause literally like 15 min ago someone helped us find a bug in the scanner.
Please spare maybe 5-10 min and a page or two of PHP code and tell us your feedback/what to improve/which features you'd like to see added? That would be help us so much!
check it out here
Help / How to configure the portable plugin correctly?
« Last post by omlk on December 02, 2023, 11:13:45 pm »
So that the compiled plugin.dll file can be included in another version of Code::Blocks with another version of SDK? That is, how to make a portable version?Let's assume that the version of the widgets is the same. wxWidgets v3.2.4
Using Code::Blocks / Re: Does Code::Blocks support multiple monitor editing?
« Last post by ollydbg on December 02, 2023, 02:17:13 pm »
This is some improved patch v2, the new cbAuiNotebook has a default "start page". I can drag the editors between the two notebook now.

But there are other issues, such as when a project get closed, C::B will hang. Because there are two many code which is handling the first(default) cbAuiNotebook.
Help / Re: selecting text breaks paste
« Last post by blauzahn on December 02, 2023, 02:14:07 pm »
That had been broken a while ago for several weeks but has been fixed in trunk a few weeks ago. I had this with trunk of cb and wxwidgets on arch and ubuntu. If memory serves me, it was a wxwidgets bug.

I agree, that was very annoying. I use it all the time.
Using Code::Blocks / Re: Does Code::Blocks support multiple monitor editing?
« Last post by ollydbg on December 02, 2023, 09:02:23 am »
I did some hack on this issue.

The idea is to create a new cbAuiNotebook control, which can be "float" or docked. The original notebook is centered. I have to "Menu-View->Perspective->Delete current" to see the new added notebook window.

Here is the result screen shot and the patch file.

The issue here are:

I see that cbAuiNotebook can't be focused?

I mean when loading a file to a new editor, I would like to put the new editor to the "active cbAuiNotebook", but it just failed. So, I just toggle a "bool" variable, so half of the files were added to the original cbAuiNotebook, and the other files were added to another notebook.

Another issue is that I have enabled the option "wxAUI_NB_TAB_EXTERNAL_MOVE". When I am using the wxAui sample code, I see that editors can be dragged from one Notebook to another. But in my changes, I see can't see I can drag editors from one to another.

There are still many other things to handle, but I see this could be a simple hack and start.

Any ideas?


Help / Re: selecting text breaks paste
« Last post by roody2dgame on December 02, 2023, 05:07:43 am »
I no longer can reproduce this bug.
Started working after a `pagman -Syu`
Using Code::Blocks / Re: Does Code::Blocks support multiple monitor editing?
« Last post by ollydbg on December 02, 2023, 03:06:38 am »
I'm still thinking this feature, I'm not sure how you edit the code, but nowadays, I do have more time to have multiple monitors.

So, is there any way that I can "float" an CbEditor window? Or I can "float" a wxAuiNotebook(cbAuiNotebook) window?

With this way, I can view code on my two monitors.
General (but related to Code::Blocks) / New User JohnBoyK57
« Last post by JohnBoyK57 on December 01, 2023, 11:54:50 pm »
Dear Newcomers,
please make a "I am new, I am here" -------------

Hi, yes I am a new user which use code::blocks to improve my C/C++ knowledge.
Kind regards
Pages: [1] 2 3 4 5 6 ... 10