C#/.NET – Small TextBoxTraceListener for quick and dirty tracing in...
Don’t know how many decades ago I got the idea, and there are probably dozens of unfinished samples like these, but below is complete one. bo.Forms.TextBoxTraceListener. But first the feature list:...
View ArticleDelphi – Using FastMM4 part 2: TDataModule descendants exposing interfaces,...
This is the second post of a series of posts around using FastMM4. The start of the series contains a listing of other posts as well and will be updated when new posts become available. One of the...
View ArticleCodeRage 4: sessions recorded; Delphi 2010 migration was a beeze;...
I just finished recording my CodeRage 4 sessions: Practical XML in Delphi Reliable Communication between Applications with Delphi and ActiveMQ Using Unicode and Other Encodings in your Programs...
View ArticleCodeRage 4: session materials are available for download« The Wiert Corner –...
My CodeRage 4 session materials are available for download: Practical XML in Delphi Reliable Communication between Applications with Delphi and ActiveMQ Using Unicode and Other Encodings in your...
View ArticleCodeRage 4: session “Practical XML in Delphi” chat and Q&A transcripts
Not only can you download CodeRage 4 session on materials on Practical XML in Delphi, but below you can also find the chat transcripts below. Note the times are a bit odd: when the chat window...
View ArticleCodeRage 4: session “Reliable Communication between Applications with Delphi...
Not only can you download CodeRage 4 session on materials on Reliable Communication between Applications with Delphi and ActiveMQ, but below you can also find the chat transcripts below. VIP Room...
View ArticleCodeRage 4: session replays are online too!
Embarcadero has made available the replays of the CodeRage 4 sessions. You can find them in the CodeRage 4 sessions overview. In order to download them from that overview, NOTE: To access this session...
View ArticleCodeRage 4 session material download locations changed – CodeCentral messed up
Somehow, CodeCentral managed to not only delete my uploaded CodeRage 4 session materials (the videos are fine!), but also newer uploads with other submissions. Since I’m in crush mode to get the BASTA!...
View ArticleDelphi – hardcore debugging the intialization of your app, dlls and packages
Recently we got involved with a client having a large and complex application that (historically) consists of A main .EXE that loads Many DLLs Underlying BPLs One of the biggest problems is debugging...
View Article.NET Reflector catch-22
I just found out that the .NET Reflector asks me two questions. The first is this: This version of .NET Reflector is out of date. Do you want to update automatically? (YES / NO) If I answer NO, then...
View ArticleReading tea leaves – Danny Thorpe
A short while ago, Danny Thorpe posted an answer about multithreading issues on StackOverflow.com which reminded me a lot about a BorCon session he did. That session is called “Reading Tea Leaves: The...
View Article.NET/C#: stupid code of the day – Cosmos.Debug.VSDebugEngine
I wasn’t the first one to notice this one, but is hilereous: bool enabled = fEnable == 0 ? false : true; What about a simple logical negation (!) operator? The above sample is from the “Visual Studio...
View ArticleTwitter / Danny Thorpe: New programmers are drawn …
Brilliant and so true: New programmers are drawn to multithreading like moths to flame, with similar results. Edit: And this is just one example on how tiny little details can impact threading so much....
View ArticleVisual Studio 2010: you should run the Remote Debugging Monitor from a local...
Setting up remote debugging is always a precarious thing, no matter what kind of development platform: the online documentation tells you the standard steps, but usually they don’t suffice. This case...
View ArticleWeaving: Source code, IL, ByteCode, Native
Weaving extends your program adding new functionality. It can be at different levels for difference purposes (AOP, Debugging, Automated Testing, etc). This .net – What is IL Weaving? question on...
View ArticleGetting TLIST.EXE: Microsoft TaskLister from the Debugger Tools
A few notes on TLIST.EXE: Lots and lots of articles mention it. Not all versions of TLIST.EXE will work on all Windows versions (I found a 40k version 3.51 at a client that clearly hangs on their XP...
View ArticleEmbarcadero has some cool new Delphi iOS technology in the pipeline (via:...
Today exactly a month ago, Allen Bauer (Chief Scientist at Embarcadero) asked a really in depth question about debugging the startup sequence of iOS apps on a device not originating from Xcode on Stack...
View ArticleDon’t spam with OutputDebugString
A production version of an app should not spam using OutputDebugString. Some apps do, for instance very couple of seconds the “TAM E-SSO AccessAgent” DataProvider.exe process spams stuff like this:...
View Articlex64 debugging on Windows: usually not directly by the IDE, but trough a debug...
While developing x64 applications, most Windows development tools are actually running in x86 mode, and use an intermediate x64 layer to debug the x64 process even for local debugging. For Visual...
View ArticleBorland Fun Facts: Matt Pietrek worked there too!
Another episode in the Missed Schedule series that was originally scheduled for 20131201: Until I read the comments at Monitoring the Monitor, I only knew the early days of Matt Pietrek‘s work at...
View ArticleSome notes/links on Windows Debugging CLR applications
I only need it every once in a while, so finding the right links and tips to help me usually takes too much time. So here is a small list to get started: Debugging Managed Code Using the Windows...
View ArticleBug squasing: A heisenbug is not your average bug.
I took the liberty to make an English translation of this very interesting German story about squasing an Heisenbug from Kristian Köhntopp: Heisenbugsquashing bei +SysEleven: Sechs Monate Kernels...
View ArticleCppCon 2015: Greg Law ” Give me 15 minutes & I’ll change your view of GDB”–...
CppCon 2015: Greg Law ” Give me 15 minutes & I’ll change your view of GDB” – YouTube via: Things you did not know about GDB – Kristian Köhntopp – Google+ –jeroen Filed under: Debugging,...
View ArticleWhen AQTime thinks it’s running during install and aborts installation
I had this warning (which is actually an error: you cannot continue as pressing OK would get you the same warning over and over again) during AQTime installation a while ago:...
View ArticleSmartBear AQTime links
Since they’re hard to find on-line, and sometimes I need them when not having access to my collective browser or email history: http://downloads.smartbear.com/AQALicenseManager.exe...
View ArticleDelphi – unmangle names in BPL’s – Stack Overflow
Check out $(BDS)\source\cpprtl\Source\misc\unmangle.c – it contains the source code for the unmangling mechanism used by TDUMP, the debugger and the linker. (C++Builder and Delphi use the same mangling...
View ArticleDelphi call stack from exception…
Lars Fosdal: MADExcept and Eurekalog are good products (and there is a JVCL tool as well). If you run your app in the IDE, you get the stack there – but for now, you need to acquire a third party...
View ArticleHi there. Is it possible to get RTTI information for IDE “built-in” classes …
For my link archive: [WayBack] Hi there.Is it possible to get RTTI information for IDE “built-in” classes with an OTA Wizard?Let’s say I create a TRttiContext object in my wizard…. – Fl Ko – Google+...
View Articlegdbgui – browser based debugger for C, C++, go, rust, Fortran. Modern gdb...
[WayBack] gdbgui – browser based debugger for C, C++, go, rust, Fortran. Modern gdb frontend.: gdbgui (gnu debugger graphical user interface) Via: [WayBack] Browser-based debugger for C, C++, go, rust,...
View ArticleLaptop fan profiling, and debugging them – related to Profiling | CommitStrip
A while back, I posted the “profiling” CommitStrip on[WayBack] Profiling – Jeroen Wiert Pluimers – Google+. Boy how did I not know that within a week, I bumped into a “laptop fan profiling” artefact. A...
View ArticleIt’s a blong, blong, blong road…: ‘What if?’ scenario analysis in the CPU window
Patching code at debug-time: [WayBack] It’s a blong, blong, blong road…: ‘What if?’ scenario analysis in the CPU window. Remember: There are dragons Patching too many bytes will kill a kitten and...
View ArticleHow to debug small programs
As a follow up of SSCCE, MWE and MCVE are basically the same: provide code people can use to reproduce a problem, I found [WayBack] How to debug small programs which is starts as One of the most...
View ArticleSasha Laundy on Twitter: “The best debugger ever made is a good night’s sleep.”
Very similar to “you get the best ideas while sleeping“: [WayBack/Archive.is] Sasha Laundy on Twitter: “The best debugger ever made is a good night’s sleep.” Via: [WayBack] So true it hurts –...
View ArticleDrawbacks for separating TDS/TD32 symbol information in separate file for...
A while ago this interesting question came by: [WayBack] Delphi XE2 has got the Linking option “Place debug information in separate TDS file” … Does this have any adverse effects for Win32 Delphi...
View ArticleDebugging is like being the detective in a crime movie where you are also the…
[WayBack] Debugging is like being the detective in a crime movie where you are also the murderer. ROFL. You can grab it from Amazon https://goo.gl/SDP8fU – Markus Korsmeier – Google+ –jeroen –jeroen
View ArticleSEP92: A VIDEO COMPATIBILITY INTERFACE FOR TURBO DEBUGGER
[WayBack] SEP92: A VIDEO COMPATIBILITY INTERFACE FOR TURBO DEBUGGER Blast from the past, which reminds me of the days that Peter Sawatzki used this interface to write a DLL that allowed Turbo Debugger...
View ArticleSome links on thread names in Windows
For a very long time, it has been possible to name threads visible in debuggers: How to: Set a Thread Name in Native Code. In the mean time, under Windows 10, you can both Get and Set the thread name....
View ArticleBe sure to leave a review for The Pocket Guide to Debugging by Julia Evans |...
Julia makes great books, so be sure to leave a review at [Wayback/Archive] The Pocket Guide to Debugging by Julia Evans | Goodreads Via [Wayback/Archive] Julia Evans on Twitter: “if you read “The...
View ArticleBitSavers added some more Borland documentation in 2022 (most relevant for...
Below is a list of the Borland documentation that BitSavers added in 2022, ordered by relevance to me (and how I finally asked Peter Sawatzki if he still had the monochrome TDVIDEO.DLL he wrote for...
View ArticleSkip line while debugging in Chrome developer tools – Stack Overflow
[Wayback/Archive] Skip line while debugging in Chrome developer tools – Stack Overflow (thanks [Wayback/Archive] Matas Vaitkevicius for both asking and answering): No, and is [Wayback/Archive] not...
View Article