Jump to content

Wagner Landgraf

Members
  • Content Count

    92
  • Joined

  • Last visited

Everything posted by Wagner Landgraf

  1. Wagner Landgraf

    Getting Exception stack trace in 2021

    Indeed, it's the dll which is compiled with Jcl. Still, it's the Jcl logic.
  2. Wagner Landgraf

    Getting Exception stack trace in 2021

    Thank you for presenting another approach. But that still needs JCL, so in the end, it's using the "JCL way". From what I saw DebugEngine is also very lightweight and even easier to use than this approach. It also looks like it did extra job to gather a "more correct" call stack. It all boils down to reliability, as JCL is widely used, and DebugEngine doesn't seem to be so. I guess I will have to just try it for a while and see it myself.
  3. Wagner Landgraf

    Getting Exception stack trace in 2021

    Spot on! Thanks for letting me know I'm not completely insane yet. ­čśů
  4. Wagner Landgraf

    Getting Exception stack trace in 2021

    Indeed, I google'd a lot and for some reason I set a flag they were both the same person. I thought I read it somewhere, but it looks I was mistaken.
  5. Wagner Landgraf

    Getting Exception stack trace in 2021

    Thank you very much for the feedback. Since you mentioned you just "gave it a try", you are not using it anymore, and/or didn't use it in production? I'm also interested in knowing how it is (and the other mentioned tools) when it comes to performance and stability, since I intend to use it in server applications.
  6. Wagner Landgraf

    failed deffered Getit package

    Thanks but I had already done that. No luck, unfortunately.
  7. Wagner Landgraf

    failed deffered Getit package

    I'm having the same problem. I could take a screenshot from the console app trying to execute some GetIt installer and I got the following screenshot. I can't install the patches. Maybe @Marco Cantu has some insights?
  8. What is the problem about the current one? What makes it "low quality"?
  9. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    @Anders Melander, unfortunately that didn't work for me in a specific project. Actually, I never had patience to wait for it to finish (maximum 1 hour). The weird thing is that this project is not that big, and I use lots of excludes, the PDB file size is 388 Kb. Would you be interested in checking this specific situation?
  10. Wagner Landgraf

    DUnit official source code

    Is there a place where we can find the "official" DUnit source code? It looks like there isn't one. I have DUnit source code here from difference sources - Delphi 10.4.2 Sydney, SourceForge SVN (https://svn.code.sf.net/p/dunit/svn/trunk), Delphi Leak Check (https://github.com/shadow-cs/delphi-leakcheck/tree/master/External/DUnit) and they are all different. It looks like the most "recent" version is the Delphi one. I need to do some modifications to DUnit and I was thinking about creating a GitHub repository to make it "official", applying changes from those sources when needed and accepting changes from contributors. Does anyone has a better idea? Does anyone know if the license allow me to do so (and also apply modifications made by Embarcadero from each Delphi version)?
  11. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    I reduced the size of my project a lot, and now VTune "only" took one hour to load. I could then do some tests. What I have noticed is that the "View source code" option sometimes opens the wrong file. @Anders MelanderDo you want to check it? If yes, what information should I provide to you?
  12. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    Ok. Please let me know if I can be of any help somehow. I believe it's currently not very usable for you as well since the time it takes is just too much. Your focus on black/white is in the hope that it will reduce the symbol table size and thus speed up the process?
  13. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    That's a significant factor, yes. But since I have already bought it, and actually when a tool saves your time and/or allows you to more easily improve the quality of your code, it pays for itself. So I was mostly talking about technical differences.
  14. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    Are you referring to the slowness of the "Resolving information" step? Any news about this? I have the same problem, it's taking more than 30 minutes and still going on...
  15. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    Works great here as well, just tested! Thank you @Anders Melander, for this awesome work. There is a big chance I can will ditch AQTime now!
  16. Wagner Landgraf

    Decrease Your Build Time

    Are you aware of any compilation of best practices to reduce code bloat and compilation size you are mentioning here ref your refactoring?
  17. Wagner Landgraf

    MAP2PDB - Profiling with VTune

    Very interesting tool, I believe it opens lots of possibilities. I use AQTime and Sampling Profiler, is anyone able to tell the differences and advantages of VTune compared to those two tools?
  18. Wagner Landgraf

    ERD tool needed!

    You can try TMS Data Modeler: https://tmssoftware.com/site/tmsdm.asp
  19. I wonder if someone notice these "minor" but really annoying changes in IDE behavior in 10.4.2. This really decreases productivity significantly when you sum up the small things. 1. Interface/implementation navigation a) When you navigate from method declaration in interface to method implementation, using Ctrl+Shift+Arrow Down, the IDE goes to the implementation, but cursor is now located in the procedure/function declaration, not in the first line of the implementation (after begin). Thus, if you want to start coding, you have to press down key several times (especially if you have lots of local variables declared) just to get to the first line of code. b) Also when navigating to implementation, the cursor is now located in the middle of the editor, instead of top. Thus, you only see "half" of the implementation code that would you see if the cursor is located in the top of editor. 2. Forward class declaration navigation When you control-click a forward class declaration like TMappingExplorer = class; It won't navigate anymore to the actual class declaration. I wonder if you noticed the same and you know workarounds. The only one I found was to disable new LSP but this brings lots of stability issues, besides not having the new LSP features, obviously.
  20. Wagner Landgraf

    Annoying IDE behavior changes in 10.4.2

    LSP is now way better than the previous one. And it looks like Embarcadero is just not touching the old one anymore, so for example I see IDE crashes in some situations with the Classic code insight, and I'm afraid that will never be fixed now. Installing MMX "solves" the issue temporarily, until they hopefully fixes that in 10.5.
  21. Wagner Landgraf

    Annoying IDE behavior changes in 10.4.2

    Voted. But I wonder if there isn't a workaround right now, given @Uwe Raabe doesn't see this behavior.
  22. Wagner Landgraf

    Annoying IDE behavior changes in 10.4.2

    Using same exact version: Embarcadero® RAD Studio 10.4 Version 27.0.40680.4203. No IDE plugins installed, only components. The fact you can't reproduce is really intriguing, it might mean there is some settings that "fix" this behavior? Or maybe your IDE plugins are affecting it?
  23. Wagner Landgraf

    Annoying IDE behavior changes in 10.4.2

    Weird. How did you test it? Using latest Delphi 10.4.2 Sydney, you can do just this: 1. Create a new VCL blank application 2. Double click the form to create a FormCreate event handler. Cursor is located between begin..end lines (line 27) 3. Press Ctrl+Shift+Up. Cursor goes to FormCreate declaration in interface section (line 11) 4. Press Ctrl+Shift+Down. Cursor goes back to FormCreate implementation, but now cursor is in procedure line (line 25), not between begin..end lines You don't see that behavior?
  24. That's for sure. We could even use more things and types from Spring4D. The main problem, actually - besides some time to integrate - is the deploy of it. Installation is already complex, it's rather complex to add Spring4D as a dependency, worse, as an optional dependency. That's why I'm really looking forward to @Vincent Parrett's DPM, when it's ready, we could deploy several different packages, and it will just download and install whatever dependencies it needs.
  25. Wagner Landgraf

    Blogged: DPM Package Manager Progress

    This is an amazing project, congratulations. I wanted to contribute but I just didn't find time to do so. This is the future for Delphi dependency manager and will bring a revolution to Delphi development if the library builders adopt it. I have the intention to do so.
├Ś