Comments (15)
Hi Rob,
two answers :
- You first need to build your program or libraries with -g option to get the debug symbols in the binary so malt can find the source file paths.
- If for some reasons, you built your program on another computer and install for example an RPM you might not have the sources in the same exact path when you run the MALT webview. In this case you can override some paths to redirect them to another directory by using the
-o/--override
option.
Eg, if you built with sources in /rpm/.... and run on another machine where you copied the sources in /home/me/
malt-webview --override /rpm/my-project:/home/me/my-project -i malt-123456-my-program.json
Fill free to precise if it is not working for you.
from malt.
I tried the -o option, but isn't working. Is there a way to display the original source path that web view is expecting?
from malt.
Ohhhh, thanks for the report, there is effectively a real bug.
You can see the path of the file in the webview source browser when it failed to fetch the file.
You are most probably in the case where your sources are pointed via a relative paths which trigger a bug in the webview making the './' disappearing while arriving on the mini-server.
I fixed it in master branch.
If you are in this case it might be fixed.
For relative path replacement you might use, or it might work automatically if you are located in the source directory.
malt-webview --override ./:/home/me/my-project -i malt-123456-my-program.json
If you can confirm it is your issue.
from malt.
from malt.
Pretty sur I still have an issue on the ./ in the target part of the redirection, I will give a look.
Waiting the patch, can you try to put a full path instead of ./ ?
from malt.
In principle I made the fix on master branch.
If you can check and confirm or infirm.
from malt.
from malt.
So if I well understand you get the issue since you moved to master branch and before you got success with probably the released version 1.2.1 ?
Or am I wrong ?
from malt.
from malt.
The issue related to fastSkip
is related the the backtrace on which I skip the first entries not to look on my own internal functions. But the exact value to use might depend on the way your compiler as inlined some functions. In principle this is detected but I probably have an issue if you get the error.
You can try to see if another value of the skip parameter might fix your issue manually via the options :
malt -o stack:skip=3 ......
malt -o stack:skip=4 ......
malt -o stack:skip=5 ......
from malt.
from malt.
As you directly call cmake
you can also try to build in release mode which enable all the optimizations which impact this. I apply it automatically if you use the ./configure
script.
Probably i need to fix something in debug mode.
cmake .. -DCMAKE_BUILD_TYPE=Release .......
from malt.
from malt.
I moved the second issue your reported in #76 so I can close this one.
from malt.
from malt.
Related Issues (20)
- Document that we can also override Helpers::getFileId(void ) directly in the exec for MPI
- Provide a way to access profile + sources remote via ssh
- Add an option to not instrument some child exe
- Check spinlock usage on others threads while main is solving symboles HOT 2
- Create a server based profiling approach
- cannot alloc memory HOT 2
- "own" vs "total" HOT 1
- LD_PRELOAD seg fault HOT 9
- Track cudaHostAlloc and hipHostMalloc HOT 1
- List all allocators .so in the GUI (custom)
- PAGE_SIZE undefined on some system
- Introduce CI in github action to validate patches
- Test distributions HOT 1
- In web GUI, issue with relatives paths HOT 1
- Evaluate portability on MacOSX
- Restore & update packaging scripts
- Possible hang with OpenMP HOT 3
- Add "override" C++ keyword on herited classes
- NULL call site address in timeline HOT 1
- Update README to show how to use unix socket instead of port in webview
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 malt.