Comments (2)
I did finally get a copy of the source and saw this behavior was because
Map2Dbg always wants to flag the target binary as having debug info stripped.
While I understand why that might be desirable under some circumstances, I'd
like to request a change where a command-line option would be added to
optionally NOT alter the executable. That would meet our needs and also allow
other uses to flag the .EXE as was done before.
Original comment by [email protected]
on 2 Apr 2014 at 7:16
from map2dbg.
Of course, everything is possible :)
But why not including a version number or hash in the exe itself? (custom
verion info).
You can easily fetch it by using TJclPeImage.VersionInfo.Items.
That's the way we do it with our version control system (Plastic SCM) by
including the changeset number + branch name in the exe, so we know exact which
source code is used.
The same can you do with a hash or whatever. But you need for example an
automated build server for that like FinalBuilder.
We also include JDBG in the exe to be 100% sure we have the right debug
symbols. In the JCL there is a tool to compile/compress a big .map file to a
.jdbg and add it as a JCLDEBUG section in the .exe.
I also made 2 tools that can be used for this:
- the live stack viewer in my Sampling Profiler
https://code.google.com/p/asmprofiler/wiki/ProcessStackViewer
- offline minidump reader (!)
https://asmprofiler.googlecode.com/svn/trunk/MiniDumpReader/ViewMinidump.exe
These 2 tools both can use the internal jdbg (or other debug symbols) and you
have full debug info (e.g. line numbers) which you don't have with map2dbg
Original comment by andre.mussche
on 2 Apr 2014 at 7:43
from map2dbg.
Related Issues (12)
- unable to start programm, missing rtl100.bpl HOT 2
- Binary was not built with debug information HOT 16
- File version HOT 1
- IndexOutOfRangeException raised when processing certain files HOT 6
- Error running tds2pdb: Entry with the same key already exists HOT 1
- Error running tds2pdb: .rdata section not found HOT 8
- Exception when creating PDB from TDS HOT 2
- Large number Error v1 and Error v2 while parsing STL map symbols HOT 3
- Delphi XE2 Update4 HOT 1
- sstModule record is wrong HOT 1
- KeyNotFoundException from scoped.Parent = offsetToSymInfo[scopeparent] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from map2dbg.