Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to debug some of Chrome's behaviour when running one of my extensions. However the test is fairly memory intensive and I want to run it under Valgrind. Is it possible to launch an instance of the browser which is entirely independent of the rest of by browser windows so I can debug it without having to switch my main browser to something else for the duration?

share|improve this question
    
Chrome uses a seperate process for each tab to begin with. You just need to identify which process your dealing with. –  Ramhound Mar 8 '13 at 17:41
    
@Ramhound yeah but to use a tool like Valgrind I need to launch it within the Valgrind VM, you can't attach it to an already running process. There are also many additional processes involved. –  stsquad Mar 9 '13 at 13:50
add comment

1 Answer

up vote 5 down vote accepted

Try starting with a different user profile via e.g. the --user-data-dir=~/profilepath switch on *nix, or --profile-directory="profilename" on Windows. This should start a separate process.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.